From d1dcedaccfd5adfd661724476003410d5d251756 Mon Sep 17 00:00:00 2001 From: Robin Gareus Date: Fri, 8 Apr 2016 20:32:49 +0200 Subject: experimental session-save speedup property order is not important, unordered_map lookup and insertion is O(1) --- libs/pbd/pbd/xml++.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'libs/pbd/pbd') diff --git a/libs/pbd/pbd/xml++.h b/libs/pbd/pbd/xml++.h index 8e0e015870..7b8649873a 100644 --- a/libs/pbd/pbd/xml++.h +++ b/libs/pbd/pbd/xml++.h @@ -29,7 +29,7 @@ #include #include -#include +#include #include #include @@ -50,7 +50,7 @@ typedef XMLNodeList::const_iterator XMLNodeConstIterator; typedef std::list XMLPropertyList; typedef XMLPropertyList::iterator XMLPropertyIterator; typedef XMLPropertyList::const_iterator XMLPropertyConstIterator; -typedef std::map XMLPropertyMap; +typedef std::unordered_map XMLPropertyMap; class LIBPBD_API XMLTree { public: -- cgit v1.2.3