diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/map/map.cpp | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/src/map/map.cpp b/src/map/map.cpp index 22eb0de69f..c6d376c13b 100644 --- a/src/map/map.cpp +++ b/src/map/map.cpp @@ -621,10 +621,6 @@ void Map::updateSources() { }); } -const std::set<util::ptr<StyleSource>> Map::getActiveSources() const { - return activeSources; -} - void Map::updateSources(const util::ptr<StyleLayerGroup> &group) { if (!group) { return; @@ -642,7 +638,7 @@ void Map::updateSources(const util::ptr<StyleLayerGroup> &group) { } void Map::updateTiles() { - for (const util::ptr<StyleSource> &source : getActiveSources()) { + for (const auto& source : activeSources) { source->source->update(*this, getWorker(), style, glyphAtlas, *glyphStore, spriteAtlas, getSprite(), |