summaryrefslogtreecommitdiff
path: root/src/mbgl/style/observer.hpp
diff options
context:
space:
mode:
authorKonstantin Käfer <mail@kkaefer.com>2016-05-27 16:54:31 +0200
committerKonstantin Käfer <mail@kkaefer.com>2016-06-10 12:42:14 +0200
commit8a8f828e41c24afe4dc8df701f149c3d238c054a (patch)
tree21a668edeb7d24af8c8493ea899d07da6ef3a487 /src/mbgl/style/observer.hpp
parent2c7f7fb5669088cbd6d6a7471a377f28195adaf6 (diff)
downloadqtlocation-mapboxgl-8a8f828e41c24afe4dc8df701f149c3d238c054a.tar.gz
[core] rename onPlacementRedone -> onNeedsRepaint
Diffstat (limited to 'src/mbgl/style/observer.hpp')
-rw-r--r--src/mbgl/style/observer.hpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/mbgl/style/observer.hpp b/src/mbgl/style/observer.hpp
index c19f58904f..4a5b5ab6ca 100644
--- a/src/mbgl/style/observer.hpp
+++ b/src/mbgl/style/observer.hpp
@@ -15,10 +15,10 @@ public:
* In addition to the individual glyph, sprite, and source events, the
* following "rollup" events are provided for convenience. They are
* strictly additive; e.g. when a source is loaded, both `onSourceLoaded`
- * and `onResourceLoaded` will be called.
+ * and `onNeedsRepaint` will be called.
*/
- virtual void onResourceLoaded() {};
- virtual void onResourceError(std::exception_ptr) {};
+ virtual void onNeedsRepaint() {}
+ virtual void onResourceError(std::exception_ptr) {}
};
} // namespace style