summaryrefslogtreecommitdiff
path: root/src/mbgl/map/transform.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mbgl/map/transform.hpp')
-rw-r--r--src/mbgl/map/transform.hpp6
1 files changed, 1 insertions, 5 deletions
diff --git a/src/mbgl/map/transform.hpp b/src/mbgl/map/transform.hpp
index a92b4abaf8..678f3ffc11 100644
--- a/src/mbgl/map/transform.hpp
+++ b/src/mbgl/map/transform.hpp
@@ -9,7 +9,7 @@
#include <cstdint>
#include <cmath>
-#include <mutex>
+#include <functional>
namespace mbgl {
@@ -55,8 +55,6 @@ public:
const TransformState currentState() const;
private:
- // Functions prefixed with underscores will *not* perform any locks. It is the caller's
- // responsibility to lock this object.
void _moveBy(double dx, double dy, Duration = Duration::zero());
void _setScale(double scale, double cx, double cy, Duration = Duration::zero());
void _setScaleXY(double new_scale, double xn, double yn, Duration = Duration::zero());
@@ -64,8 +62,6 @@ private:
View &view;
- mutable std::recursive_mutex mtx;
-
TransformState state;
void startTransition(std::function<Update(double)> frame,