summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--compat/math.hpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/compat/math.hpp b/compat/math.hpp
index b8cba8f2..34428cbd 100644
--- a/compat/math.hpp
+++ b/compat/math.hpp
@@ -66,7 +66,8 @@ inline auto uround(t val) -> std::enable_if_t<std::is_floating_point_v<remove_cv
}
template <typename t>
-static force_inline constexpr int signum(const t& x)
+force_inline
+constexpr int signum(const t& x)
{
return x < t{0} ? -1 : 1;
}