diff options
author | John Firebaugh <john.firebaugh@gmail.com> | 2015-06-24 14:50:54 -0700 |
---|---|---|
committer | John Firebaugh <john.firebaugh@gmail.com> | 2015-06-26 10:32:07 -0700 |
commit | d19308351322ea8314137d531a9935e19b6f235f (patch) | |
tree | a785ef5841eda34ba133201a8c399d683b65ab78 /include/mbgl | |
parent | e6a576f6eb2fb0124b7cbfbc975398ded5e812f9 (diff) | |
download | qtlocation-mapboxgl-d19308351322ea8314137d531a9935e19b6f235f.tar.gz |
Remove duration argument from View::notifyMapChange
Fixes #1026
Diffstat (limited to 'include/mbgl')
-rw-r--r-- | include/mbgl/android/native_map_view.hpp | 2 | ||||
-rw-r--r-- | include/mbgl/map/view.hpp | 4 |
2 files changed, 2 insertions, 4 deletions
diff --git a/include/mbgl/android/native_map_view.hpp b/include/mbgl/android/native_map_view.hpp index 9b89e7305c..af8f76bd74 100644 --- a/include/mbgl/android/native_map_view.hpp +++ b/include/mbgl/android/native_map_view.hpp @@ -26,7 +26,7 @@ public: void invalidate() override; void swap() override; - void notifyMapChange(mbgl::MapChange change, Duration delay = Duration::zero()) override; + void notifyMapChange(mbgl::MapChange) override; mbgl::Map &getMap(); mbgl::DefaultFileSource &getFileSource(); diff --git a/include/mbgl/map/view.hpp b/include/mbgl/map/view.hpp index 84ccc89679..e3b0810c45 100644 --- a/include/mbgl/map/view.hpp +++ b/include/mbgl/map/view.hpp @@ -57,9 +57,7 @@ public: // Notifies a watcher of map x/y/scale/rotation changes. // Must only be called from the same thread that caused the change. // Must not be called from the render thread. - virtual void notifyMapChange( - MapChange change, - Duration delay = Duration::zero()); + virtual void notifyMapChange(MapChange change); protected: mbgl::Map *map = nullptr; |