diff options
Diffstat (limited to 'include/mbgl/style/image.hpp')
-rw-r--r-- | include/mbgl/style/image.hpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/mbgl/style/image.hpp b/include/mbgl/style/image.hpp index dd62d9e0ae..deb4b6f6ce 100644 --- a/include/mbgl/style/image.hpp +++ b/include/mbgl/style/image.hpp @@ -34,7 +34,7 @@ public: bool sdf, ImageStretches stretchX = {}, ImageStretches stretchY = {}, - optional<ImageContent> content = nullopt); + const optional<ImageContent>& content = nullopt); Image(std::string id, PremultipliedImage&& image, float pixelRatio, |