diff options
author | Konstantin Käfer <mail@kkaefer.com> | 2017-07-04 18:26:50 +0200 |
---|---|---|
committer | Konstantin Käfer <mail@kkaefer.com> | 2017-07-06 12:32:54 +0200 |
commit | 107622a72ba6929bdd70e42d96c16b62c9f65dd7 (patch) | |
tree | cc24f68de0b8171c8454651ce63524cb049a6f81 /src/mbgl/algorithm | |
parent | 6d526c7b1dad81c8da1cf0d221d0b83ed2be9862 (diff) | |
download | qtlocation-mapboxgl-107622a72ba6929bdd70e42d96c16b62c9f65dd7.tar.gz |
[core] don't use unordered_* collections for things we need to sort anyway
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 c4d332343b..8338c7c145 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 <unordered_set> +#include <set> #include <vector> -#include <unordered_map> +#include <map> namespace mbgl { namespace algorithm { @@ -17,12 +17,12 @@ private: void add(const CanonicalTileID &p); bool operator==(const Leaf &other) const; - std::unordered_set<CanonicalTileID> children; + std::set<CanonicalTileID> children; ClipID& clip; }; uint8_t bit_offset = 0; - std::unordered_multimap<UnwrappedTileID, Leaf> pool; + std::multimap<UnwrappedTileID, Leaf> pool; public: template <typename Renderable> |