diff options
Diffstat (limited to 'include/common.hpp')
-rw-r--r-- | include/common.hpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/common.hpp b/include/common.hpp index a03a888..9ecd912 100644 --- a/include/common.hpp +++ b/include/common.hpp @@ -23,11 +23,11 @@ constexpr float PI = 3.1415926535f; */ unsigned int millis(void); -/*namespace std { +namespace std { template<class T> constexpr const T& clamp(const T& v, const T& lo, const T& hi) { return (v > hi) ? hi : ((v > lo) ? v : lo); } -}*/ +} #endif // COMMON_HPP_ |