aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--include/Compat.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/Compat.h b/include/Compat.h
index b4a9437c2..b6d41e591 100644
--- a/include/Compat.h
+++ b/include/Compat.h
@@ -23,13 +23,13 @@ inline constexpr T clamp(T val, T minVal, T maxVal) {
// std::round (not present on older MacOSX SDKs)
template<class T>
T round(T arg) {
- return round(arg);
+ return ::round(arg);
}
// std::lround (not present on older MacOSX SDKs)
template<class T>
long lround(T arg) {
- return lround(arg);
+ return ::lround(arg);
}
// std::make_unique