summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorMike Morris <michael.patrick.morris@gmail.com>2014-07-11 16:49:39 -0700
committerMike Morris <michael.patrick.morris@gmail.com>2014-07-11 16:49:39 -0700
commit5bc77d4243e2d70d4a1a0127fb0e878160601e23 (patch)
treee5fa0a537b9000c9ab6b2b75687c7dadc109abdd /include
parent86c5367baec5a7731ff82716f0a2dcc99802e3b4 (diff)
downloadqtlocation-mapboxgl-5bc77d4243e2d70d4a1a0127fb0e878160601e23.tar.gz
add forward-declared Source shared_ptr to style_bucket
Diffstat (limited to 'include')
-rw-r--r--include/llmr/style/style_bucket.hpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/llmr/style/style_bucket.hpp b/include/llmr/style/style_bucket.hpp
index c8529fdd23..0f3824211a 100644
--- a/include/llmr/style/style_bucket.hpp
+++ b/include/llmr/style/style_bucket.hpp
@@ -12,6 +12,8 @@
namespace llmr {
+class Source;
+
class StyleBucketFill {
public:
WindingType winding = WindingType::Default;
@@ -74,6 +76,7 @@ public:
std::string name;
std::shared_ptr<StyleSource> style_source;
+ std::shared_ptr<Source> source;
std::string source_layer;
FilterExpression filter;
StyleBucketRender render = std::false_type();