summaryrefslogtreecommitdiff
path: root/include/llmr/map/vector_tile_data.hpp
diff options
context:
space:
mode:
authorKonstantin Käfer <mail@kkaefer.com>2014-05-28 14:54:54 +0200
committerKonstantin Käfer <mail@kkaefer.com>2014-05-28 14:54:54 +0200
commit5b38927c5f76ab72f5bc9534dbebd97d0759ba49 (patch)
tree9ac5b6e310a5d100c9ec83291b71b6842c215c22 /include/llmr/map/vector_tile_data.hpp
parent192b5a30e455f0814ba28b6e61596eeac4b6a716 (diff)
downloadqtlocation-mapboxgl-5b38927c5f76ab72f5bc9534dbebd97d0759ba49.tar.gz
use an unordered map for bucket name => bucket
Diffstat (limited to 'include/llmr/map/vector_tile_data.hpp')
-rw-r--r--include/llmr/map/vector_tile_data.hpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/llmr/map/vector_tile_data.hpp b/include/llmr/map/vector_tile_data.hpp
index 24d2c7cc2b..f82e2ebff9 100644
--- a/include/llmr/map/vector_tile_data.hpp
+++ b/include/llmr/map/vector_tile_data.hpp
@@ -13,7 +13,7 @@
#include <llmr/geometry/icon_buffer.hpp>
#include <llmr/geometry/text_buffer.hpp>
-#include <map>
+#include <unordered_map>
namespace llmr {
@@ -42,7 +42,7 @@ protected:
// Holds the buckets of this tile.
// They contain the location offsets in the buffers stored above
- std::map<std::string, std::unique_ptr<Bucket>> buckets;
+ std::unordered_map<std::string, std::unique_ptr<Bucket>> buckets;
};