From c65465c02e19f191f63e8e6fdb31441b309e1def Mon Sep 17 00:00:00 2001 From: "Thiago Marcos P. Santos" Date: Mon, 30 Oct 2017 19:16:26 +0200 Subject: [gcc4.9] Keep compatibility with GCC + Android Needed by Qt builds on Android. --- include/mbgl/util/projection.hpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'include') diff --git a/include/mbgl/util/projection.hpp b/include/mbgl/util/projection.hpp index f64502c5bc..1613af3b36 100644 --- a/include/mbgl/util/projection.hpp +++ b/include/mbgl/util/projection.hpp @@ -92,8 +92,8 @@ public: const double t2z = tileSize * std::pow(2, zoom); Point pt = project_(point, t2z); // Flip y coordinate - auto x = std::round(std::min(pt.x, t2z)); - auto y = std::round(std::min(t2z - pt.y, t2z)); + auto x = ::round(std::min(pt.x, t2z)); + auto y = ::round(std::min(t2z - pt.y, t2z)); return { x, y }; } private: -- cgit v1.2.1