MacOS compilation fixes
This commit is contained in:
parent
dc6335a4ab
commit
4b223c5ed1
4 changed files with 6 additions and 1 deletions
|
|
@ -47,7 +47,7 @@ namespace psemek::geom
|
|||
|
||||
template <typename T, std::size_t N, std::size_t M>
|
||||
affine_transform<T, N, M>::affine_transform()
|
||||
: m{m.zero()}
|
||||
: m{matrix<T, N, M+1>::zero()}
|
||||
{
|
||||
for (std::size_t i = 0; i < std::min(N, M); ++i)
|
||||
m[i][i] = T{1};
|
||||
|
|
|
|||
|
|
@ -3,6 +3,7 @@
|
|||
#include <psemek/util/signal.hpp>
|
||||
|
||||
#include <optional>
|
||||
#include <vector>
|
||||
#include <memory>
|
||||
#include <initializer_list>
|
||||
#include <type_traits>
|
||||
|
|
|
|||
|
|
@ -61,6 +61,9 @@ namespace psemek::ui::impl
|
|||
|
||||
root.reset();
|
||||
|
||||
// prevent 'lambda capture is unused' warning
|
||||
(void)this;
|
||||
|
||||
if (!impl)
|
||||
impl = factory();
|
||||
|
||||
|
|
|
|||
|
|
@ -6,6 +6,7 @@
|
|||
|
||||
#include <any>
|
||||
#include <optional>
|
||||
#include <vector>
|
||||
|
||||
namespace psemek::ui::impl
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue