summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorKonstantin Käfer <mail@kkaefer.com>2017-06-02 14:46:33 +0200
committerKonstantin Käfer <mail@kkaefer.com>2017-06-03 12:51:01 +0200
commit0b8bc87e503f7ab4ebada16fe3f8e78a989194bb (patch)
treea95d93bfba6b4b9055deea098f5ab9a23f1a62ac /src
parent2d039d3c6b0f62a7545563f7ef4e966aed8ba410 (diff)
downloadqtlocation-mapboxgl-0b8bc87e503f7ab4ebada16fe3f8e78a989194bb.tar.gz
[core] interpret missing field in vector tile values as null instead of false
Diffstat (limited to 'src')
-rw-r--r--src/mbgl/tile/vector_tile.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mbgl/tile/vector_tile.cpp b/src/mbgl/tile/vector_tile.cpp
index d22617dd07..96961e1da7 100644
--- a/src/mbgl/tile/vector_tile.cpp
+++ b/src/mbgl/tile/vector_tile.cpp
@@ -127,7 +127,7 @@ Value parseValue(protozero::pbf_reader data) {
break;
}
}
- return false;
+ return NullValue{};
}
VectorTileFeature::VectorTileFeature(protozero::pbf_reader feature_pbf, std::shared_ptr<VectorTileLayerData> layerData_)