diff options
author | Brad Leege <bleege@gmail.com> | 2016-09-12 15:45:57 -0700 |
---|---|---|
committer | Brad Leege <bleege@gmail.com> | 2016-09-14 16:40:20 -0700 |
commit | d0f9ba499831a7412e51bd45141c9637ea484fde (patch) | |
tree | 187d7bfbb0c31e294dd9879dbb12a1e54a25903b /src/mbgl/algorithm | |
parent | a9f5224664905ac28a372be6aad429a31790df03 (diff) | |
download | qtlocation-mapboxgl-d0f9ba499831a7412e51bd45141c9637ea484fde.tar.gz |
[core] #3980 - Switching Core GL instances of map to unordered_map
Diffstat (limited to 'src/mbgl/algorithm')
-rw-r--r-- | src/mbgl/algorithm/generate_clip_ids.hpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/mbgl/algorithm/generate_clip_ids.hpp b/src/mbgl/algorithm/generate_clip_ids.hpp index 0454c99524..d917b398af 100644 --- a/src/mbgl/algorithm/generate_clip_ids.hpp +++ b/src/mbgl/algorithm/generate_clip_ids.hpp @@ -3,9 +3,9 @@ #include <mbgl/tile/tile_id.hpp> #include <mbgl/util/clip_id.hpp> -#include <set> +#include <unordered_set> #include <vector> -#include <map> +#include <unordered_map> namespace mbgl { namespace algorithm { @@ -17,12 +17,12 @@ private: void add(const CanonicalTileID &p); bool operator==(const Leaf &other) const; - std::set<CanonicalTileID> children; + std::unordered_set<CanonicalTileID> children; ClipID& clip; }; uint8_t bit_offset = 0; - std::multimap<UnwrappedTileID, Leaf> pool; + std::unordered_multimap<UnwrappedTileID, Leaf> pool; public: template <typename Renderables> |