diff options
author | John Firebaugh <john.firebaugh@gmail.com> | 2016-06-16 15:51:47 -0700 |
---|---|---|
committer | John Firebaugh <john.firebaugh@gmail.com> | 2016-06-17 11:38:03 -0700 |
commit | e2f52a1dd8020e8665c55650c75d4e5a5e1423a6 (patch) | |
tree | 94e9ee3fdc377c2af12416059e0f74895961da94 /src/mbgl/style/style.hpp | |
parent | a3318c2ced80a3b79dd898afb9f0fe27f0ce7571 (diff) | |
download | qtlocation-mapboxgl-e2f52a1dd8020e8665c55650c75d4e5a5e1423a6.tar.gz |
[core] Copy only the necessary style layers to the worker
Diffstat (limited to 'src/mbgl/style/style.hpp')
-rw-r--r-- | src/mbgl/style/style.hpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mbgl/style/style.hpp b/src/mbgl/style/style.hpp index e83cab8050..1a41c4ce40 100644 --- a/src/mbgl/style/style.hpp +++ b/src/mbgl/style/style.hpp @@ -62,7 +62,7 @@ public: void addSource(std::unique_ptr<Source>); void removeSource(const std::string& sourceID); - std::vector<std::unique_ptr<Layer>> getLayers() const; + std::vector<const Layer*> getLayers() const; Layer* getLayer(const std::string& id) const; void addLayer(std::unique_ptr<Layer>, optional<std::string> beforeLayerID = {}); |