diff options
author | artemp <artem@mapnik.org> | 2014-10-30 10:43:58 -0400 |
---|---|---|
committer | artemp <artem@mapnik.org> | 2014-10-30 10:43:58 -0400 |
commit | fd2d8f48cbf82326b2a1fb43f153e4452c0d9900 (patch) | |
tree | 15f384f61fdd7eee5cdecddcfd2db92280246ae6 /include/mbgl/map | |
parent | acb65f8f6779f79a47a7ab0aabd699beb9e5c3f6 (diff) | |
download | qtlocation-mapboxgl-fd2d8f48cbf82326b2a1fb43f153e4452c0d9900.tar.gz |
pass Tile::ID by const ref
Diffstat (limited to 'include/mbgl/map')
-rw-r--r-- | include/mbgl/map/raster_tile_data.hpp | 2 | ||||
-rw-r--r-- | include/mbgl/map/tile_data.hpp | 2 | ||||
-rw-r--r-- | include/mbgl/map/vector_tile_data.hpp | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/include/mbgl/map/raster_tile_data.hpp b/include/mbgl/map/raster_tile_data.hpp index 8ae898f989..97317537b9 100644 --- a/include/mbgl/map/raster_tile_data.hpp +++ b/include/mbgl/map/raster_tile_data.hpp @@ -16,7 +16,7 @@ class RasterTileData : public TileData { friend class TileParser; public: - RasterTileData(Tile::ID id, Map &map, const util::ptr<SourceInfo> &source); + RasterTileData(Tile::ID const& id, Map &map, const util::ptr<SourceInfo> &source); ~RasterTileData(); virtual void parse(); diff --git a/include/mbgl/map/tile_data.hpp b/include/mbgl/map/tile_data.hpp index 70297c7f34..d6666f2f70 100644 --- a/include/mbgl/map/tile_data.hpp +++ b/include/mbgl/map/tile_data.hpp @@ -40,7 +40,7 @@ public: }; public: - TileData(Tile::ID id, Map &map, const util::ptr<SourceInfo> &source); + TileData(Tile::ID const& id, Map &map, const util::ptr<SourceInfo> &source); ~TileData(); void request(); diff --git a/include/mbgl/map/vector_tile_data.hpp b/include/mbgl/map/vector_tile_data.hpp index 9f611fd69c..070456af80 100644 --- a/include/mbgl/map/vector_tile_data.hpp +++ b/include/mbgl/map/vector_tile_data.hpp @@ -26,7 +26,7 @@ class VectorTileData : public TileData { friend class TileParser; public: - VectorTileData(Tile::ID id, Map &map, const util::ptr<SourceInfo> &source); + VectorTileData(Tile::ID const& id, Map &map, const util::ptr<SourceInfo> &source); ~VectorTileData(); virtual void parse(); virtual void render(Painter &painter, util::ptr<StyleLayer> layer_desc, const mat4 &matrix); |