diff options
author | Konstantin Käfer <mail@kkaefer.com> | 2015-02-11 13:56:16 -0800 |
---|---|---|
committer | Konstantin Käfer <mail@kkaefer.com> | 2015-03-06 15:42:34 +0100 |
commit | e00bae4f1c9fed201dd01f641f7849d4178e0e7c (patch) | |
tree | 1b5b5c14317ffda3f302c539729f0c5b0b7fc122 /include | |
parent | cf235c65926d72d00d2eb1a6ace9f9ab2d701a5c (diff) | |
download | qtlocation-mapboxgl-e00bae4f1c9fed201dd01f641f7849d4178e0e7c.tar.gz |
lock the StyleBucket to avoid crashing
stopgap until we have a solution that doesn't mutate the style objects while parsing a tile
Diffstat (limited to 'include')
-rw-r--r-- | include/mbgl/map/map.hpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/mbgl/map/map.hpp b/include/mbgl/map/map.hpp index ed156c5d22..8711aa3d08 100644 --- a/include/mbgl/map/map.hpp +++ b/include/mbgl/map/map.hpp @@ -101,7 +101,7 @@ public: // Position void moveBy(double dx, double dy, std::chrono::steady_clock::duration duration = std::chrono::steady_clock::duration::zero()); void setLatLng(LatLng latLng, std::chrono::steady_clock::duration duration = std::chrono::steady_clock::duration::zero()); - inline const LatLng getLatLng() const { return state.getLatLng(); } + LatLng getLatLng() const; void startPanning(); void stopPanning(); void resetPosition(); |