summaryrefslogtreecommitdiffhomepage
path: root/compat/math.hpp
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2019-02-11 15:52:03 +0100
committerStanislaw Halik <sthalik@misaki.pl>2019-02-11 18:44:03 +0100
commitaa3b01a556a60ce09123e93263642193da86982b (patch)
tree37c89d7e9350c2cb2d8fc48792966af790df0e29 /compat/math.hpp
parent1f17378532c24e2442b9fff8ccb5ea0b0936a2c0 (diff)
compat/macros: remove prefix
Let's not be concerned about global namespace pollution. These identifiers aren't exposed in the api/ directory.
Diffstat (limited to 'compat/math.hpp')
-rw-r--r--compat/math.hpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/compat/math.hpp b/compat/math.hpp
index fa4ff4a6..b8cba8f2 100644
--- a/compat/math.hpp
+++ b/compat/math.hpp
@@ -66,7 +66,7 @@ inline auto uround(t val) -> std::enable_if_t<std::is_floating_point_v<remove_cv
}
template <typename t>
-static cc_forceinline constexpr int signum(const t& x)
+static force_inline constexpr int signum(const t& x)
{
return x < t{0} ? -1 : 1;
}