diff options
author | Stanislaw Halik <sthalik@misaki.pl> | 2018-06-22 13:21:52 +0200 |
---|---|---|
committer | Stanislaw Halik <sthalik@misaki.pl> | 2018-06-26 23:01:53 +0200 |
commit | 519b4a3ae10c96951db917f2439982c7d2391874 (patch) | |
tree | ec55d8a12fa740803e6da2074eec04f465e98ede /compat/math.hpp | |
parent | 0f182b791622ad4491c8aabf8edce21a63839bdc (diff) |
compat/macros: rename portability macros
use `cc_xx' rather than awkward synonyms.
Diffstat (limited to 'compat/math.hpp')
-rw-r--r-- | compat/math.hpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/compat/math.hpp b/compat/math.hpp index 014604e6..eae1435e 100644 --- a/compat/math.hpp +++ b/compat/math.hpp @@ -68,7 +68,7 @@ inline auto uround(const t& val) -> std::enable_if_t<!std::is_integral_v<std::de #include "macros.hpp" template <typename T> -static force_inline constexpr auto signum(T x) +static cc_forceinline constexpr auto signum(T x) { return x < T(0) ? -1 : 1; } |