summaryrefslogtreecommitdiff
path: root/src/mbgl/text/font_stack.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mbgl/text/font_stack.cpp')
-rw-r--r--src/mbgl/text/font_stack.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mbgl/text/font_stack.cpp b/src/mbgl/text/font_stack.cpp
index d4d3a39475..6d06796e84 100644
--- a/src/mbgl/text/font_stack.cpp
+++ b/src/mbgl/text/font_stack.cpp
@@ -27,8 +27,8 @@ const Shaping FontStack::getShaping(const std::u32string &string, const float ma
// the y offset *should* be part of the font metadata
const int32_t yOffset = -17;
- float x = std::round(translate.x * 24); // one em
- const float y = std::round(translate.y * 24) + yOffset; // one em
+ float x = ::round(translate.x * 24); // one em
+ const float y = ::round(translate.y * 24) + yOffset; // one em
// Loop through all characters of this label and shape.
for (uint32_t chr : string) {