summaryrefslogtreecommitdiff
path: root/src/mbgl/map/vector_tile.hpp
diff options
context:
space:
mode:
authorJohn Firebaugh <john.firebaugh@gmail.com>2015-03-10 10:32:25 -0700
committerJohn Firebaugh <john.firebaugh@gmail.com>2015-03-10 10:32:25 -0700
commit05df041c15ba9e509bc98b043f5368c9a23fa688 (patch)
tree0e2ea4137da3c9decf00222b1bae9d3aa4629b16 /src/mbgl/map/vector_tile.hpp
parent5fa628bc001dd19cb84f816d3834a1ec126da089 (diff)
downloadqtlocation-mapboxgl-05df041c15ba9e509bc98b043f5368c9a23fa688.tar.gz
Don't use const on value-type returns
Diffstat (limited to 'src/mbgl/map/vector_tile.hpp')
-rw-r--r--src/mbgl/map/vector_tile.hpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mbgl/map/vector_tile.hpp b/src/mbgl/map/vector_tile.hpp
index a7521cd327..b27f6bb397 100644
--- a/src/mbgl/map/vector_tile.hpp
+++ b/src/mbgl/map/vector_tile.hpp
@@ -28,7 +28,7 @@ public:
VectorTileLayer(pbf);
virtual std::size_t featureCount() const { return features.size(); }
- virtual const util::ptr<const GeometryTileFeature> feature(std::size_t) const;
+ virtual util::ptr<const GeometryTileFeature> feature(std::size_t) const;
private:
friend class VectorTile;
@@ -45,7 +45,7 @@ class VectorTile : public GeometryTile {
public:
VectorTile(pbf);
- virtual const util::ptr<const GeometryTileLayer> getLayer(const std::string&) const;
+ virtual util::ptr<const GeometryTileLayer> getLayer(const std::string&) const;
private:
std::map<std::string, util::ptr<const GeometryTileLayer>> layers;