summaryrefslogtreecommitdiff
path: root/tests/auto/qgeomapscene/tst_qgeomapscene.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'tests/auto/qgeomapscene/tst_qgeomapscene.cpp')
-rw-r--r--tests/auto/qgeomapscene/tst_qgeomapscene.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/auto/qgeomapscene/tst_qgeomapscene.cpp b/tests/auto/qgeomapscene/tst_qgeomapscene.cpp
index 4303dd0f..a3b992dd 100644
--- a/tests/auto/qgeomapscene/tst_qgeomapscene.cpp
+++ b/tests/auto/qgeomapscene/tst_qgeomapscene.cpp
@@ -94,7 +94,7 @@ class tst_QGeoMapScene : public QObject
double mercatorX;
double mercatorY;
- double halfLength = 1 / (pow(2.0, zoom) * 2);
+ double halfLength = 1 / (std::pow(2.0, zoom) * 2);
double scaleX = screenWidth / tileSize;
double scaleY = screenHeight / tileSize;
double scaledHalfLengthX = halfLength * scaleX;