summaryrefslogtreecommitdiff
path: root/src/mbgl/text/cross_tile_symbol_index.hpp
diff options
context:
space:
mode:
authorAlexander Shalamov <alexander.shalamov@mapbox.com>2018-11-13 17:39:26 +0200
committerAlexander Shalamov <alexander.shalamov@mapbox.com>2018-11-19 14:06:21 +0200
commit77911f1cc955b1adeb143dd15f6fc0d77763440c (patch)
treee8a84100c7eae6ab23ffc1a4420db3ed6760dd01 /src/mbgl/text/cross_tile_symbol_index.hpp
parent20c471669c102d1740558c2c7d1ea77bb9ef8530 (diff)
downloadqtlocation-mapboxgl-77911f1cc955b1adeb143dd15f6fc0d77763440c.tar.gz
[core] Replace RenderSymbolLayer downcast with symbol interface
Diffstat (limited to 'src/mbgl/text/cross_tile_symbol_index.hpp')
-rw-r--r--src/mbgl/text/cross_tile_symbol_index.hpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mbgl/text/cross_tile_symbol_index.hpp b/src/mbgl/text/cross_tile_symbol_index.hpp
index 051573e1d2..528147f146 100644
--- a/src/mbgl/text/cross_tile_symbol_index.hpp
+++ b/src/mbgl/text/cross_tile_symbol_index.hpp
@@ -15,7 +15,7 @@
namespace mbgl {
class SymbolInstance;
-class RenderSymbolLayer;
+class RenderLayerSymbolInterface;
class SymbolBucket;
class IndexedSymbolInstance {
@@ -58,7 +58,7 @@ class CrossTileSymbolIndex {
public:
CrossTileSymbolIndex();
- bool addLayer(RenderSymbolLayer&, float lng);
+ bool addLayer(const RenderLayerSymbolInterface&, float lng);
void pruneUnusedLayers(const std::set<std::string>&);
void reset();