diff options
author | Lucas Wojciechowski <lucas@lucaswoj.com> | 2016-09-19 17:26:25 -0700 |
---|---|---|
committer | John Firebaugh <john.firebaugh@gmail.com> | 2016-09-19 17:26:25 -0700 |
commit | 37cb2bd756104923c8a055277a9d598710943e9f (patch) | |
tree | 9208c450f4fbeb086656d04a35e8c763d1e9ebc0 /include/mbgl | |
parent | 79708ff9d8a364ad83d390edb402f03761f0c885 (diff) | |
download | qtlocation-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 'include/mbgl')
-rw-r--r-- | include/mbgl/storage/network_status.hpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/mbgl/storage/network_status.hpp b/include/mbgl/storage/network_status.hpp index d7f502a3b2..0d1ae54ec4 100644 --- a/include/mbgl/storage/network_status.hpp +++ b/include/mbgl/storage/network_status.hpp @@ -2,7 +2,7 @@ #include <atomic> #include <mutex> -#include <set> +#include <unordered_set> namespace mbgl { @@ -28,7 +28,7 @@ public: private: static std::atomic<bool> online; static std::mutex mtx; - static std::set<util::AsyncTask*> observers; + static std::unordered_set<util::AsyncTask*> observers; }; } // namespace mbgl |