summaryrefslogtreecommitdiff
path: root/src/mbgl/style/source.cpp
diff options
context:
space:
mode:
authorBruno de Oliveira Abinader <bruno@mapbox.com>2017-03-21 16:28:11 +0200
committerBruno de Oliveira Abinader <bruno@mapbox.com>2017-03-21 19:33:36 +0200
commit1f8910de186f35216791a17a683a55f01031ec81 (patch)
treeee470e8e1ee6f85094afce6d1a227018b9780eb6 /src/mbgl/style/source.cpp
parent86cddaf751e4c66f117b28fb013a43486581c948 (diff)
downloadqtlocation-mapboxgl-1f8910de186f35216791a17a683a55f01031ec81.tar.gz
Make Source::getZoomRange return an optional range
Diffstat (limited to 'src/mbgl/style/source.cpp')
-rw-r--r--src/mbgl/style/source.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mbgl/style/source.cpp b/src/mbgl/style/source.cpp
index 9ef245ac34..f10fc6916b 100644
--- a/src/mbgl/style/source.cpp
+++ b/src/mbgl/style/source.cpp
@@ -18,7 +18,7 @@ optional<std::string> Source::getAttribution() const {
return baseImpl->getAttribution();
}
-Range<uint8_t> Source::getZoomRange() const {
+optional<Range<uint8_t>> Source::getZoomRange() const {
return baseImpl->getZoomRange();
}