[core] s/onSourceDidChange/onSourceChanged/ + source ref

This commit is contained in:
Bruno de Oliveira Abinader
2017-03-17 11:10:46 +02:00
parent 24198ebca8
commit c1a410be8b
8 changed files with 17 additions and 14 deletions

View File

@@ -59,7 +59,7 @@ public:
ConstrainMode,
ViewportMode);
void onSourceAttributionChanged(style::Source&, const std::string&) override;
void onSourceChanged(style::Source&) override;
void onUpdate(Update) override;
void onStyleLoaded() override;
void onStyleError(std::exception_ptr) override;
@@ -1089,8 +1089,8 @@ void Map::onLowMemory() {
}
}
void Map::Impl::onSourceAttributionChanged(style::Source&, const std::string&) {
observer.onSourceDidChange();
void Map::Impl::onSourceChanged(style::Source& source) {
observer.onSourceChanged(source);
}
void Map::Impl::onUpdate(Update flags) {