diff options
author | Lucas Wojciechowski <lucas@lucaswoj.com> | 2016-09-19 17:26:25 -0700 |
---|---|---|
committer | John Firebaugh <john.firebaugh@gmail.com> | 2016-09-19 17:26:25 -0700 |
commit | 37cb2bd756104923c8a055277a9d598710943e9f (patch) | |
tree | 9208c450f4fbeb086656d04a35e8c763d1e9ebc0 /src/mbgl/algorithm | |
parent | 79708ff9d8a364ad83d390edb402f03761f0c885 (diff) | |
download | qtlocation-mapboxgl-37cb2bd756104923c8a055277a9d598710943e9f.tar.gz |
[core] Convert uses of std::set to std::unordered_set (#6325)
* src/mbgl/annotation/annotation_manager.hpp
* src/mbgl/algorithm/update_renderables.hpp
* src/mbgl/geometry/glyph_atlas.hpp
* src/mbgl/renderer/painter.cpp and src/mbgl/renderer/render_item.hpp
* src/mbgl/renderer/symbol_bucket.hpp and src/mbgl/text/glyph_store.hpp
* src/mbgl/sprite/sprite_atlas.hpp
* include/mbgl/storage/network_status.hpp
* src/mbgl/text/collision_tile.cpp
* src/mbgl/style/update_batch.hpp
* platform/default/mbgl/storage/offline_download.hpp
* Add GlyphRangeSet typedef
* Fix whitespace & unused imports
Diffstat (limited to 'src/mbgl/algorithm')
-rw-r--r-- | src/mbgl/algorithm/update_renderables.hpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mbgl/algorithm/update_renderables.hpp b/src/mbgl/algorithm/update_renderables.hpp index 5a6a26f987..fe2dc2c570 100644 --- a/src/mbgl/algorithm/update_renderables.hpp +++ b/src/mbgl/algorithm/update_renderables.hpp @@ -4,7 +4,7 @@ #include <mbgl/util/range.hpp> #include <mbgl/storage/resource.hpp> -#include <set> +#include <unordered_set> namespace mbgl { namespace algorithm { @@ -21,7 +21,7 @@ void updateRenderables(GetTileFn getTile, const IdealTileIDs& idealTileIDs, const Range<uint8_t>& zoomRange, const uint8_t dataTileZoom) { - std::set<UnwrappedTileID> checked; + std::unordered_set<UnwrappedTileID> checked; bool covered; int32_t overscaledZ; |