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 bbea081c71..0d9c863e85 100644 --- a/include/mbgl/style/image.hpp +++ b/include/mbgl/style/image.hpp @@ -65,7 +65,7 @@ public: const ImageStretches& getStretchY() const; // The space where text can be fit into this image. - const ImageContent& getContent() const; + const optional<ImageContent>& getContent() const; class Impl; Immutable<Impl> baseImpl; |