[core] #3980 - Switching Core GL instances of map to unordered_map

This commit is contained in:
Brad Leege
2016-09-12 15:45:57 -07:00
parent a9f5224664
commit d0f9ba4998
11 changed files with 60 additions and 27 deletions

View File

@@ -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>