diff options
author | Minh Nguyễn <mxn@1ec5.org> | 2017-04-04 21:08:50 -0700 |
---|---|---|
committer | Minh Nguyễn <mxn@1ec5.org> | 2017-04-05 14:56:06 -0700 |
commit | d39ea23b0975bf39f54bb181b14f3caed69a4767 (patch) | |
tree | b7a136dbedacc5ce82b6330c96a70a31ad2b8718 /INSTALL.md | |
parent | 5bfbe9603b8f306e8725ef54a642e3fa57fe9141 (diff) | |
download | qtlocation-mapboxgl-d39ea23b0975bf39f54bb181b14f3caed69a4767.tar.gz |
[ios, macos] Hardened std::map usage in MGLMapVIew
Replaced std::map::operator[] usage with std::map::at(). Backed up an assertion on iOS with a guard when -annotationTagsInRect: returns the tag of a nonexistent annotation, for consistency with macOS. Removed an unnecessary and risky subscript into _annotationContextsByAnnotationTag in -positioningRectForCalloutForAnnotationWithTag: on iOS.
Diffstat (limited to 'INSTALL.md')
0 files changed, 0 insertions, 0 deletions