summaryrefslogtreecommitdiff
path: root/src/mbgl/tile
diff options
context:
space:
mode:
authorKonstantin Käfer <mail@kkaefer.com>2016-05-27 13:42:22 +0200
committerKonstantin Käfer <mail@kkaefer.com>2016-06-10 12:42:14 +0200
commit4673a9d6b3d8bd90c1e6fe9b2cd4bcd07519c0f2 (patch)
tree3199ed877f85967a36b578be736f38e21494a7cd /src/mbgl/tile
parent913d28e74505eaf365bb2fa22d8b88d415b1a4d5 (diff)
downloadqtlocation-mapboxgl-4673a9d6b3d8bd90c1e6fe9b2cd4bcd07519c0f2.tar.gz
[core] remove unused TileSource::loaded
Diffstat (limited to 'src/mbgl/tile')
-rw-r--r--src/mbgl/tile/tile_source.hpp8
1 files changed, 0 insertions, 8 deletions
diff --git a/src/mbgl/tile/tile_source.hpp b/src/mbgl/tile/tile_source.hpp
index 9244ee70a7..8ecc9c3fae 100644
--- a/src/mbgl/tile/tile_source.hpp
+++ b/src/mbgl/tile/tile_source.hpp
@@ -42,13 +42,6 @@ public:
}
}
- bool isLoaded() const {
- // "loaded" is considered true once the initial load action completed, regardless of whether
- // the TileData is required or optional, and whether any actual TileData was loaded in the
- // case of optional TileData
- return loaded;
- }
-
protected:
// called when the tile is one of the ideal tiles that we want to show definitely. the tile source
// should try to make every effort (e.g. fetch from internet, or revalidate existing resources).
@@ -62,7 +55,6 @@ protected:
protected:
Necessity necessity;
- bool loaded = false;
};
class GeometryTileData;