summaryrefslogtreecommitdiff
path: root/src/mbgl/layout/symbol_layout.hpp
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 /src/mbgl/layout/symbol_layout.hpp
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 'src/mbgl/layout/symbol_layout.hpp')
-rw-r--r--src/mbgl/layout/symbol_layout.hpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mbgl/layout/symbol_layout.hpp b/src/mbgl/layout/symbol_layout.hpp
index db27f1b817..c4e6455794 100644
--- a/src/mbgl/layout/symbol_layout.hpp
+++ b/src/mbgl/layout/symbol_layout.hpp
@@ -7,7 +7,7 @@
#include <memory>
#include <map>
-#include <set>
+#include <unordered_set>
#include <vector>
namespace mbgl {
@@ -88,7 +88,7 @@ private:
bool sdfIcons = false;
bool iconsNeedLinear = false;
- std::set<GlyphRange> ranges;
+ GlyphRangeSet ranges;
std::vector<SymbolInstance> symbolInstances;
std::vector<SymbolFeature> features;
};