summaryrefslogtreecommitdiff
path: root/platform/default/src/mbgl/map
diff options
context:
space:
mode:
authorBruno de Oliveira Abinader <bruno@mapbox.com>2019-03-24 17:15:37 +0200
committerBruno de Oliveira Abinader <bruno@mapbox.com>2019-03-25 13:15:09 +0200
commit067ff28d0ac5c35c399069457051e53f900696a0 (patch)
tree8b5f1e885739f7c269e64d46287e3a1833e300f9 /platform/default/src/mbgl/map
parentee5be6dff1b106afa43fac6d714a40446144b667 (diff)
downloadqtlocation-mapboxgl-067ff28d0ac5c35c399069457051e53f900696a0.tar.gz
[core] ResoureOptions explicit copy via clone()
Diffstat (limited to 'platform/default/src/mbgl/map')
-rw-r--r--platform/default/src/mbgl/map/map_snapshotter.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/platform/default/src/mbgl/map/map_snapshotter.cpp b/platform/default/src/mbgl/map/map_snapshotter.cpp
index cd8482e4ba..ca5eadafbc 100644
--- a/platform/default/src/mbgl/map/map_snapshotter.cpp
+++ b/platform/default/src/mbgl/map/map_snapshotter.cpp
@@ -174,7 +174,7 @@ MapSnapshotter::MapSnapshotter(std::shared_ptr<Scheduler> scheduler,
const ResourceOptions& resourceOptions)
: impl(std::make_unique<util::Thread<MapSnapshotter::Impl>>(
"Map Snapshotter", std::move(scheduler), style, size, pixelRatio, cameraOptions,
- region, programCacheDir, localFontFamily, resourceOptions)) {}
+ region, programCacheDir, localFontFamily, resourceOptions.clone())) {}
MapSnapshotter::~MapSnapshotter() = default;