summaryrefslogtreecommitdiff
path: root/platform/default/src/mbgl
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 11:52:50 +0200
commit4a1594ab476a9363f047435f25541f6d49c3d903 (patch)
treef6f1b7076e1816ce5cce71654602992e54ecdcf8 /platform/default/src/mbgl
parentac6855a4734be099319e4003eff4951074e7fd57 (diff)
downloadqtlocation-mapboxgl-4a1594ab476a9363f047435f25541f6d49c3d903.tar.gz
[core] ResoureOptions explicit copy via clone()upstream/fix-fluent-iface-move-ctors
Diffstat (limited to 'platform/default/src/mbgl')
-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;