diff options
Diffstat (limited to 'src/mbgl/style/sources/custom_geometry_source.cpp')
-rw-r--r-- | src/mbgl/style/sources/custom_geometry_source.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mbgl/style/sources/custom_geometry_source.cpp b/src/mbgl/style/sources/custom_geometry_source.cpp index 44401c1a8f..9d3a58c151 100644 --- a/src/mbgl/style/sources/custom_geometry_source.cpp +++ b/src/mbgl/style/sources/custom_geometry_source.cpp @@ -14,7 +14,7 @@ namespace mbgl { namespace style { -CustomGeometrySource::CustomGeometrySource(std::string id, CustomGeometrySource::Options options) +CustomGeometrySource::CustomGeometrySource(std::string id, const CustomGeometrySource::Options& options) : Source(makeMutable<CustomGeometrySource::Impl>(std::move(id), options)), loader(std::make_unique<Actor<CustomTileLoader>>( Scheduler::GetBackground(), options.fetchTileFunction, options.cancelTileFunction)) {} |