diff --git a/include/stdex/math.hpp b/include/stdex/math.hpp index b62ad2886..3169fe5e7 100644 --- a/include/stdex/math.hpp +++ b/include/stdex/math.hpp @@ -89,7 +89,7 @@ namespace stdex /// /// \return The first number greater or equal to a that has n lower bits zero /// - inline constexpr size_t align_up(size_t a, int n) + inline size_t align_up(size_t a, int n) { const size_t mask = SIZE_MAX << n; return add(a, ~mask) & mask;