summaryrefslogtreecommitdiff
path: root/include/mbgl/text/types.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'include/mbgl/text/types.hpp')
-rw-r--r--include/mbgl/text/types.hpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/mbgl/text/types.hpp b/include/mbgl/text/types.hpp
index e2539bff62..dbb483ea8f 100644
--- a/include/mbgl/text/types.hpp
+++ b/include/mbgl/text/types.hpp
@@ -101,7 +101,7 @@ struct PlacementProperty {
: zoom(zoom), rotationRange(rotationRange) {}
inline operator bool() const {
- return !isnan(zoom) && zoom != std::numeric_limits<float>::infinity() &&
+ return !std::isnan(zoom) && zoom != std::numeric_limits<float>::infinity() &&
rotationRange[0] != rotationRange[1];
}