From 8f7b50e6d2030e44249a3bf1c11eae0cfd30d77b Mon Sep 17 00:00:00 2001 From: Stanislaw Halik Date: Tue, 19 Mar 2019 06:27:46 +0100 Subject: compat/math: fix prototype --- compat/math.hpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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 -static force_inline constexpr int signum(const t& x) +force_inline +constexpr int signum(const t& x) { return x < t{0} ? -1 : 1; } -- cgit v1.2.3