summaryrefslogtreecommitdiff
path: root/src/mbgl/style/image.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mbgl/style/image.cpp')
-rw-r--r--src/mbgl/style/image.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mbgl/style/image.cpp b/src/mbgl/style/image.cpp
index be7e52abfa..eb0b5ab24b 100644
--- a/src/mbgl/style/image.cpp
+++ b/src/mbgl/style/image.cpp
@@ -11,7 +11,7 @@ Image::Image(std::string id,
bool sdf,
ImageStretches stretchX,
ImageStretches stretchY,
- optional<ImageContent> content)
+ const optional<ImageContent>& content)
: baseImpl(makeMutable<Impl>(
std::move(id), std::move(image), pixelRatio, sdf, std::move(stretchX), std::move(stretchY), content)) {}