summaryrefslogtreecommitdiff
path: root/platform/macos
diff options
context:
space:
mode:
authorBrad Leege <bleege@gmail.com>2016-09-12 15:45:57 -0700
committerBrad Leege <bleege@gmail.com>2016-09-14 16:40:20 -0700
commitd0f9ba499831a7412e51bd45141c9637ea484fde (patch)
tree187d7bfbb0c31e294dd9879dbb12a1e54a25903b /platform/macos
parenta9f5224664905ac28a372be6aad429a31790df03 (diff)
downloadqtlocation-mapboxgl-d0f9ba499831a7412e51bd45141c9637ea484fde.tar.gz
[core] #3980 - Switching Core GL instances of map to unordered_map
Diffstat (limited to 'platform/macos')
-rw-r--r--platform/macos/src/MGLMapView.mm4
1 files changed, 2 insertions, 2 deletions
diff --git a/platform/macos/src/MGLMapView.mm b/platform/macos/src/MGLMapView.mm
index 9507f5c433..8fae1e0174 100644
--- a/platform/macos/src/MGLMapView.mm
+++ b/platform/macos/src/MGLMapView.mm
@@ -30,7 +30,7 @@
#import <mbgl/util/constants.hpp>
#import <mbgl/util/chrono.hpp>
-#import <map>
+#import <unordered_map>
#import <unordered_set>
#import "NSBundle+MGLAdditions.h"
@@ -102,7 +102,7 @@ enum { MGLAnnotationTagNotFound = UINT32_MAX };
/// Mapping from an annotation tag to metadata about that annotation, including
/// the annotation itself.
-typedef std::map<MGLAnnotationTag, MGLAnnotationContext> MGLAnnotationContextMap;
+typedef std::unordered_map<MGLAnnotationTag, MGLAnnotationContext> MGLAnnotationContextMap;
/// Returns an NSImage for the default marker image.
NSImage *MGLDefaultMarkerImage() {