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 269f5f9d1a..be7e52abfa 100644
--- a/src/mbgl/style/image.cpp
+++ b/src/mbgl/style/image.cpp
@@ -41,7 +41,7 @@ const ImageStretches& Image::getStretchY() const {
return baseImpl->stretchY;
}
-const ImageContent& Image::getContent() const {
+const optional<ImageContent>& Image::getContent() const {
return baseImpl->content;
}