summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorKonstantin Käfer <mail@kkaefer.com>2019-12-10 17:38:21 +0100
committerAlexander Shalamov <alexander.shalamov@mapbox.com>2020-01-15 15:02:11 +0200
commit5a1e4c6b816ef495e53e54f563ecfcef3c5839aa (patch)
treef5654a0a5f9c517170b231dfb23ec4d430479761 /include
parent027e803b722301a03e9ef53b584c2795ff47e7bd (diff)
downloadqtlocation-mapboxgl-5a1e4c6b816ef495e53e54f563ecfcef3c5839aa.tar.gz
[core] implement stretchable icons for icon-text-fit
Diffstat (limited to 'include')
-rw-r--r--include/mbgl/style/image.hpp2
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;