diff options
Diffstat (limited to 'compat/util.hpp')
-rw-r--r-- | compat/util.hpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/compat/util.hpp b/compat/util.hpp index 7a6858a3..a63e245f 100644 --- a/compat/util.hpp +++ b/compat/util.hpp @@ -22,7 +22,7 @@ int iround(const t& val) return int(std::round(val)); } -namespace detail { +namespace util_detail { template<typename n> inline auto clamp_(n val, n min, n max) -> n @@ -39,5 +39,5 @@ inline auto clamp_(n val, n min, n max) -> n template<typename t, typename u, typename w> inline auto clamp(const t& val, const u& min, const w& max) -> decltype(val * min * max) { - return ::detail::clamp_<decltype(val * min * max)>(val, min, max); + return ::util_detail::clamp_<decltype(val * min * max)>(val, min, max); } |