summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorKonstantin Käfer <mail@kkaefer.com>2016-05-27 13:41:15 +0200
committerKonstantin Käfer <mail@kkaefer.com>2016-06-10 12:42:14 +0200
commit913d28e74505eaf365bb2fa22d8b88d415b1a4d5 (patch)
tree6bafb8c72d686113442d9bae8960c9a3942f40d5 /src
parent91895b9aecedc9c080e18b2e7304f5d2a8da340a (diff)
downloadqtlocation-mapboxgl-913d28e74505eaf365bb2fa22d8b88d415b1a4d5.tar.gz
[core] TileSources always start out as Optional
Diffstat (limited to 'src')
-rw-r--r--src/mbgl/tile/tile_source.hpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/mbgl/tile/tile_source.hpp b/src/mbgl/tile/tile_source.hpp
index 230b259321..9244ee70a7 100644
--- a/src/mbgl/tile/tile_source.hpp
+++ b/src/mbgl/tile/tile_source.hpp
@@ -17,7 +17,7 @@ public:
};
protected:
- TileSource(Necessity necessity_ = Necessity::Optional) : necessity(necessity_) {
+ TileSource() : necessity(Necessity::Optional) {
}
public:
@@ -73,8 +73,8 @@ public:
using data_type = GeometryTileData;
protected:
- GeometryTileSource(data_type& tileData_, Necessity necessity_ = Necessity::Optional)
- : TileSource(necessity_), tileData(tileData_) {
+ GeometryTileSource(data_type& tileData_)
+ : tileData(tileData_) {
}
public:
@@ -89,8 +89,8 @@ public:
using data_type = RasterTileData;
protected:
- RasterTileSource(data_type& tileData_, Necessity necessity_ = Necessity::Optional)
- : TileSource(necessity_), tileData(tileData_){};
+ RasterTileSource(data_type& tileData_)
+ : tileData(tileData_){};
public:
virtual ~RasterTileSource() = default;