diff --git a/cruft/util/alloc/allocator.hpp b/cruft/util/alloc/allocator.hpp index 0867368a..d84bf2cc 100644 --- a/cruft/util/alloc/allocator.hpp +++ b/cruft/util/alloc/allocator.hpp @@ -33,7 +33,7 @@ namespace cruft::alloc { { return { reinterpret_cast ( - m_backing.template allocate ( + m_backing.allocate ( sizeof (ValueT) * count, alignof (ValueT) ) @@ -46,7 +46,7 @@ namespace cruft::alloc { void deallocate (ValueT *t, size_t count) { - return m_backing.template deallocate (t, sizeof (ValueT) * count); + return m_backing.deallocate (t, sizeof (ValueT) * count); } diff --git a/cruft/util/coord/ops.hpp b/cruft/util/coord/ops.hpp index 1cd02225..fe56382d 100644 --- a/cruft/util/coord/ops.hpp +++ b/cruft/util/coord/ops.hpp @@ -298,7 +298,7 @@ namespace cruft { constexpr auto operator+ (A &&a, B &&b) { - return arithmetic, std::decay_t>::template eval (std::plus{}, a, b); + return arithmetic, std::decay_t>::eval (std::plus{}, a, b); } @@ -314,7 +314,7 @@ namespace cruft { constexpr auto operator- (A &&a, B &&b) { - return arithmetic, std::decay_t>::template eval (std::minus{}, a, b); + return arithmetic, std::decay_t>::eval (std::minus{}, a, b); } @@ -333,7 +333,7 @@ namespace cruft { return arithmetic< std::decay_t, std::decay_t - >::template eval (std::multiplies{}, a, b); + >::eval (std::multiplies{}, a, b); } @@ -349,7 +349,7 @@ namespace cruft { constexpr auto operator/ (A &&a, B &&b) { - return arithmetic, std::decay_t>::template eval (std::divides{}, a, b); + return arithmetic, std::decay_t>::eval (std::divides{}, a, b); } @@ -897,7 +897,7 @@ namespace cruft { return arithmetic< std::decay_t, std::decay_t - >::template eval ( + >::eval ( std::modulus{}, std::forward (a), std::forward (b)