diff options
Diffstat (limited to 'configmgr/source/partial.hxx')
-rw-r--r-- | configmgr/source/partial.hxx | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/configmgr/source/partial.hxx b/configmgr/source/partial.hxx index 56788c850774..6cdb5178ac7a 100644 --- a/configmgr/source/partial.hxx +++ b/configmgr/source/partial.hxx @@ -26,14 +26,13 @@ #include "sal/config.h" -#include <map> +#include <boost/unordered_map.hpp> // using the boost container because it explicitly allows recursive types #include <set> #include "boost/noncopyable.hpp" #include "path.hxx" - -namespace rtl { class OUString; } +#include "rtl/ustring.hxx" namespace configmgr { @@ -51,9 +50,10 @@ public: private: struct Node { - typedef std::map< rtl::OUString, Node > Children; + typedef boost::unordered_map< rtl::OUString, Node > Children; Node(): startInclude(false) {} + void clear() { startInclude=false; children.clear(); } Children children; bool startInclude; |