summaryrefslogtreecommitdiff
path: root/include/llmr/map/transform.hpp
diff options
context:
space:
mode:
authorJustin R. Miller <incanus@codesorcery.net>2014-06-01 15:32:03 -0700
committerJustin R. Miller <incanus@codesorcery.net>2014-06-01 15:32:03 -0700
commite5a78c931a0821c1b4584fc1a31bdef33c0d90c4 (patch)
treefd665e9d42d716e3fd4203e51953279fa90d8c4a /include/llmr/map/transform.hpp
parent93e8386af479001f445df642c4e1372720e1f5a6 (diff)
downloadqtlocation-mapboxgl-e5a78c931a0821c1b4584fc1a31bdef33c0d90c4.tar.gz
make some more getter functions constant
Diffstat (limited to 'include/llmr/map/transform.hpp')
-rw-r--r--include/llmr/map/transform.hpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/include/llmr/map/transform.hpp b/include/llmr/map/transform.hpp
index 6ab3d4b841..31e6f2fc63 100644
--- a/include/llmr/map/transform.hpp
+++ b/include/llmr/map/transform.hpp
@@ -39,8 +39,8 @@ public:
double getScale() const;
void startScaling();
void stopScaling();
- double getMinZoom();
- double getMaxZoom();
+ double getMinZoom() const;
+ double getMaxZoom() const;
// Angle
void rotateBy(double sx, double sy, double ex, double ey, time duration = 0);
@@ -71,7 +71,7 @@ private:
void _clearRotating();
void _clearScaling();
- void constrain(double& scale, double& y);
+ void constrain(double& scale, double& y) const;
private:
mutable uv::rwlock mtx;