summaryrefslogtreecommitdiff
path: root/src/mbgl/style/sources/geojson_source_impl.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mbgl/style/sources/geojson_source_impl.hpp')
-rw-r--r--src/mbgl/style/sources/geojson_source_impl.hpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/mbgl/style/sources/geojson_source_impl.hpp b/src/mbgl/style/sources/geojson_source_impl.hpp
index da2673a38c..3b106e3c00 100644
--- a/src/mbgl/style/sources/geojson_source_impl.hpp
+++ b/src/mbgl/style/sources/geojson_source_impl.hpp
@@ -13,18 +13,18 @@ namespace style {
class GeoJSONSource::Impl : public Source::Impl {
public:
- Impl(std::string id, optional<GeoJSONOptions>);
+ Impl(std::string id, Immutable<GeoJSONOptions>);
Impl(const GeoJSONSource::Impl&, std::shared_ptr<GeoJSONData>);
~Impl() final;
Range<uint8_t> getZoomRange() const;
std::weak_ptr<GeoJSONData> getData() const;
- const GeoJSONOptions& getOptions() const { return options; }
+ const Immutable<GeoJSONOptions>& getOptions() const { return options; }
optional<std::string> getAttribution() const final;
private:
- GeoJSONOptions options;
+ Immutable<GeoJSONOptions> options;
std::shared_ptr<GeoJSONData> data;
};