summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorThiago Marcos P. Santos <tmpsantos@gmail.com>2017-07-31 15:53:23 +0300
committerThiago Marcos P. Santos <tmpsantos@gmail.com>2017-08-07 17:20:33 +0300
commit2108763010cd4f5634129875c58940d279bde319 (patch)
treea453270b888e1cd48e925fa5a6705129d69918d1 /src
parentcaea48658753db49174ecdfbf0af7510208b846e (diff)
downloadqtlocation-mapboxgl-2108763010cd4f5634129875c58940d279bde319.tar.gz
[core] Remove std:: namespace for some functions
They are not available on Android + GCC (needed by Qt)
Diffstat (limited to 'src')
-rw-r--r--src/mbgl/util/math.hpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mbgl/util/math.hpp b/src/mbgl/util/math.hpp
index eb3c7d0fde..fcde01c1a3 100644
--- a/src/mbgl/util/math.hpp
+++ b/src/mbgl/util/math.hpp
@@ -112,7 +112,7 @@ inline T division(const T dividend, const T divisor, const T nan) {
if (dividend == 0) {
return nan;
} else {
- return std::copysign(std::numeric_limits<T>::infinity(), dividend);
+ return ::copysign(std::numeric_limits<T>::infinity(), dividend);
}
} else {
return dividend / divisor;