summaryrefslogtreecommitdiff
path: root/src/mbgl/style/paint_property.hpp
diff options
context:
space:
mode:
authorJohn Firebaugh <john.firebaugh@gmail.com>2017-03-02 14:49:54 -0800
committerJohn Firebaugh <john.firebaugh@gmail.com>2017-03-21 09:27:22 -0700
commitc16bd14416655101cd5e0fc0312b474271ad6470 (patch)
tree84ee576066556f720516ded20317d25b2ee5393e /src/mbgl/style/paint_property.hpp
parent2dbda72c454342cc8c6b258c7cd26b29ca10d477 (diff)
downloadqtlocation-mapboxgl-c16bd14416655101cd5e0fc0312b474271ad6470.tar.gz
[core] Prefer std::map to std::unordered_map for smaller binary size
Diffstat (limited to 'src/mbgl/style/paint_property.hpp')
-rw-r--r--src/mbgl/style/paint_property.hpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mbgl/style/paint_property.hpp b/src/mbgl/style/paint_property.hpp
index 599bbef1f4..3872cd1a94 100644
--- a/src/mbgl/style/paint_property.hpp
+++ b/src/mbgl/style/paint_property.hpp
@@ -139,8 +139,8 @@ public:
}
private:
- std::unordered_map<ClassID, Value> values;
- std::unordered_map<ClassID, TransitionOptions> transitions;
+ std::map<ClassID, Value> values;
+ std::map<ClassID, TransitionOptions> transitions;
};
template <class T>