diff options
Diffstat (limited to 'include/mbgl/style/sources')
-rw-r--r-- | include/mbgl/style/sources/custom_geometry_source.hpp | 2 | ||||
-rw-r--r-- | include/mbgl/style/sources/geojson_source.hpp | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/include/mbgl/style/sources/custom_geometry_source.hpp b/include/mbgl/style/sources/custom_geometry_source.hpp index 504ec42ea8..250886c209 100644 --- a/include/mbgl/style/sources/custom_geometry_source.hpp +++ b/include/mbgl/style/sources/custom_geometry_source.hpp @@ -37,7 +37,7 @@ public: TileOptions tileOptions; }; public: - CustomGeometrySource(std::string id, CustomGeometrySource::Options options); + CustomGeometrySource(std::string id, const CustomGeometrySource::Options& options); ~CustomGeometrySource() final; void loadDescription(FileSource&) final; void setTileData(const CanonicalTileID&, const GeoJSON&); diff --git a/include/mbgl/style/sources/geojson_source.hpp b/include/mbgl/style/sources/geojson_source.hpp index 7c75433c6a..9cfcade0ed 100644 --- a/include/mbgl/style/sources/geojson_source.hpp +++ b/include/mbgl/style/sources/geojson_source.hpp @@ -42,7 +42,7 @@ public: using TileFeatures = mapbox::feature::feature_collection<int16_t>; using Features = mapbox::feature::feature_collection<double>; static std::shared_ptr<GeoJSONData> create(const GeoJSON&, - Immutable<GeoJSONOptions> = GeoJSONOptions::defaultOptions(), + const Immutable<GeoJSONOptions>& = GeoJSONOptions::defaultOptions(), std::shared_ptr<Scheduler> scheduler = nullptr); virtual ~GeoJSONData() = default; |