diff options
author | John Firebaugh <john.firebaugh@gmail.com> | 2015-04-23 13:44:51 -0700 |
---|---|---|
committer | John Firebaugh <john.firebaugh@gmail.com> | 2015-04-28 14:32:25 -0400 |
commit | b5b58086a8f27c4c1cc34274aa51a857ba8c16a8 (patch) | |
tree | 92386deb001cc9083ed391a7fabf1d67152bff9d /include | |
parent | 230027e5140a8aa3c6cb24ddf3f5aee20506ac8f (diff) | |
download | qtlocation-mapboxgl-b5b58086a8f27c4c1cc34274aa51a857ba8c16a8.tar.gz |
Combine update and triggerUpdate
Diffstat (limited to 'include')
-rw-r--r-- | include/mbgl/map/map.hpp | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/include/mbgl/map/map.hpp b/include/mbgl/map/map.hpp index 31dc27492f..afa8567205 100644 --- a/include/mbgl/map/map.hpp +++ b/include/mbgl/map/map.hpp @@ -54,7 +54,7 @@ public: void renderAsync(); // Notifies the Map thread that the state has changed and an update might be necessary. - void update(); + void update(Update update = Update::Nothing); // Styling void addClass(const std::string&); @@ -137,8 +137,6 @@ public: bool getDebug() const; private: - void triggerUpdate(Update update = Update::Nothing); - const std::unique_ptr<Environment> env; std::unique_ptr<EnvironmentScope> scope; const std::unique_ptr<MapData> data; |