diff options
author | Bruno de Oliveira Abinader <bruno@mapbox.com> | 2017-03-17 11:10:46 +0200 |
---|---|---|
committer | Bruno de Oliveira Abinader <bruno@mapbox.com> | 2017-03-21 17:36:56 +0200 |
commit | c1a410be8bb135883d73c5937f2c6b22b3d31ed7 (patch) | |
tree | 40401155593795feb9886a5eb75a1b3c08a33ed1 /include/mbgl/map | |
parent | 24198ebca86cbe1329a1854f080e3f4638973142 (diff) | |
download | qtlocation-mapboxgl-c1a410be8bb135883d73c5937f2c6b22b3d31ed7.tar.gz |
[core] s/onSourceDidChange/onSourceChanged/ + source ref
Diffstat (limited to 'include/mbgl/map')
-rw-r--r-- | include/mbgl/map/map_observer.hpp | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/include/mbgl/map/map_observer.hpp b/include/mbgl/map/map_observer.hpp index 7f5073ba27..4fefb79121 100644 --- a/include/mbgl/map/map_observer.hpp +++ b/include/mbgl/map/map_observer.hpp @@ -1,7 +1,10 @@ #pragma once +#include <mbgl/style/source.hpp> + #include <cstdint> #include <exception> +#include <string> namespace mbgl { @@ -33,7 +36,7 @@ public: virtual void onWillStartRenderingMap() {} virtual void onDidFinishRenderingMap(RenderMode) {} virtual void onDidFinishLoadingStyle() {} - virtual void onSourceDidChange() {} + virtual void onSourceChanged(style::Source&) {} }; } // namespace mbgl |