[Libreoffice-commits] core.git: configmgr/source

Caolán McNamara caolanm at redhat.com
Mon Feb 16 05:36:49 PST 2015


 configmgr/source/modifications.hxx |    4 ++--
 configmgr/source/partial.hxx       |    4 ++--
 2 files changed, 4 insertions(+), 4 deletions(-)

New commits:
commit b5603894734af2a8d26b69828991cb201b063442
Author: Caolán McNamara <caolanm at redhat.com>
Date:   Mon Feb 16 13:36:00 2015 +0000

    incomplete type error under some compilers
    
    Change-Id: I87740d4d035bc4e430d566f4672bfd338511d3a8

diff --git a/configmgr/source/modifications.hxx b/configmgr/source/modifications.hxx
index 7fac667..71e06ea 100644
--- a/configmgr/source/modifications.hxx
+++ b/configmgr/source/modifications.hxx
@@ -22,7 +22,7 @@
 
 #include <sal/config.h>
 
-#include <unordered_map>
+#include <boost/unordered_map.hpp>
 
 #include "path.hxx"
 
@@ -32,7 +32,7 @@ namespace configmgr {
 class Modifications {
 public:
     struct Node {
-        typedef std::unordered_map<OUString, Node, OUStringHash> Children;
+        typedef boost::unordered_map<OUString, Node, OUStringHash> Children;
 
         Children children;
     };
diff --git a/configmgr/source/partial.hxx b/configmgr/source/partial.hxx
index a9b10f9..d9864a6 100644
--- a/configmgr/source/partial.hxx
+++ b/configmgr/source/partial.hxx
@@ -23,7 +23,7 @@
 #include <sal/config.h>
 
 #include <set>
-#include <unordered_map>
+#include <boost/unordered_map.hpp>
 
 #include "path.hxx"
 #include <rtl/ustring.hxx>
@@ -47,7 +47,7 @@ private:
     Partial& operator=(const Partial&) SAL_DELETED_FUNCTION;
 
     struct Node {
-        typedef std::unordered_map< OUString, Node, OUStringHash > Children;
+        typedef boost::unordered_map< OUString, Node, OUStringHash > Children;
 
         Node(): startInclude(false) {}
         void clear() { startInclude=false; children.clear(); }


More information about the Libreoffice-commits mailing list