diff options
author | Stanislaw Halik <sthalik@misaki.pl> | 2018-01-18 19:35:08 +0100 |
---|---|---|
committer | Stanislaw Halik <sthalik@misaki.pl> | 2018-01-18 19:35:29 +0100 |
commit | d361f57c8064ce13a0478653050b169dc94e2e99 (patch) | |
tree | 73613b75bc4e6533455b6c3ad79c3fa39b8554fb /compat/math-imports.hpp | |
parent | 2ab18fd01bc7c46043429511a3801846b998c749 (diff) |
compat/util: retire
Adjust usages.
Diffstat (limited to 'compat/math-imports.hpp')
-rw-r--r-- | compat/math-imports.hpp | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/compat/math-imports.hpp b/compat/math-imports.hpp index 4d8d5a5f..67b7e6ed 100644 --- a/compat/math-imports.hpp +++ b/compat/math-imports.hpp @@ -1,11 +1,5 @@ #pragma once -template <typename T> -static inline constexpr auto signum(T x) -{ - return x < T(0) ? -1 : 1; -} - #include <cmath> using std::copysign; @@ -51,3 +45,5 @@ using std::uint8_t; using std::min; using std::max; + +#include "math.hpp" |