diff options
Diffstat (limited to 'include/mbgl/style/sources')
-rw-r--r-- | include/mbgl/style/sources/raster_source.hpp | 2 | ||||
-rw-r--r-- | include/mbgl/style/sources/vector_source.hpp | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/include/mbgl/style/sources/raster_source.hpp b/include/mbgl/style/sources/raster_source.hpp index d84a9576c1..e49436b971 100644 --- a/include/mbgl/style/sources/raster_source.hpp +++ b/include/mbgl/style/sources/raster_source.hpp @@ -32,7 +32,7 @@ public: Value serialize() const override; protected: - RasterSource(Immutable<Impl>&&, variant<std::string, Tileset> urlOrTileset_); + RasterSource(Immutable<Impl>, variant<std::string, Tileset> urlOrTileset_); Mutable<Source::Impl> createMutable() const noexcept override; virtual Mutable<Source::Impl> createMutable(Tileset tileset) const noexcept; diff --git a/include/mbgl/style/sources/vector_source.hpp b/include/mbgl/style/sources/vector_source.hpp index 27fd78cce5..d284062e1f 100644 --- a/include/mbgl/style/sources/vector_source.hpp +++ b/include/mbgl/style/sources/vector_source.hpp @@ -38,9 +38,9 @@ protected: private: const variant<std::string, Tileset> urlOrTileset; std::unique_ptr<AsyncRequest> req; - mapbox::base::WeakPtrFactory<Source> weakFactory {this}; optional<float> maxZoom; optional<float> minZoom; + mapbox::base::WeakPtrFactory<Source> weakFactory{this}; }; } // namespace style |