summaryrefslogtreecommitdiff
path: root/platform/default/mbgl
diff options
context:
space:
mode:
authorLucas Wojciechowski <lucas@lucaswoj.com>2016-09-19 17:26:25 -0700
committerJohn Firebaugh <john.firebaugh@gmail.com>2016-09-19 17:26:25 -0700
commit37cb2bd756104923c8a055277a9d598710943e9f (patch)
tree9208c450f4fbeb086656d04a35e8c763d1e9ebc0 /platform/default/mbgl
parent79708ff9d8a364ad83d390edb402f03761f0c885 (diff)
downloadqtlocation-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 'platform/default/mbgl')
-rw-r--r--platform/default/mbgl/storage/offline_download.hpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/platform/default/mbgl/storage/offline_download.hpp b/platform/default/mbgl/storage/offline_download.hpp
index 27c5f0b139..77389d63db 100644
--- a/platform/default/mbgl/storage/offline_download.hpp
+++ b/platform/default/mbgl/storage/offline_download.hpp
@@ -3,7 +3,7 @@
#include <mbgl/storage/offline.hpp>
#include <list>
-#include <set>
+#include <unordered_set>
#include <memory>
namespace mbgl {
@@ -58,7 +58,7 @@ private:
OfflineRegionStatus status;
std::unique_ptr<OfflineRegionObserver> observer;
std::list<std::unique_ptr<AsyncRequest>> requests;
- std::set<std::string> requiredSourceURLs;
+ std::unordered_set<std::string> requiredSourceURLs;
};
} // namespace mbgl