Kaydet (Commit) b5603894 authored tarafından Caolán McNamara's avatar Caolán McNamara

incomplete type error under some compilers

Change-Id: I87740d4d035bc4e430d566f4672bfd338511d3a8
üst a3688234
...@@ -22,7 +22,7 @@ ...@@ -22,7 +22,7 @@
#include <sal/config.h> #include <sal/config.h>
#include <unordered_map> #include <boost/unordered_map.hpp>
#include "path.hxx" #include "path.hxx"
...@@ -32,7 +32,7 @@ namespace configmgr { ...@@ -32,7 +32,7 @@ namespace configmgr {
class Modifications { class Modifications {
public: public:
struct Node { struct Node {
typedef std::unordered_map<OUString, Node, OUStringHash> Children; typedef boost::unordered_map<OUString, Node, OUStringHash> Children;
Children children; Children children;
}; };
......
...@@ -23,7 +23,7 @@ ...@@ -23,7 +23,7 @@
#include <sal/config.h> #include <sal/config.h>
#include <set> #include <set>
#include <unordered_map> #include <boost/unordered_map.hpp>
#include "path.hxx" #include "path.hxx"
#include <rtl/ustring.hxx> #include <rtl/ustring.hxx>
...@@ -47,7 +47,7 @@ private: ...@@ -47,7 +47,7 @@ private:
Partial& operator=(const Partial&) SAL_DELETED_FUNCTION; Partial& operator=(const Partial&) SAL_DELETED_FUNCTION;
struct Node { struct Node {
typedef std::unordered_map< OUString, Node, OUStringHash > Children; typedef boost::unordered_map< OUString, Node, OUStringHash > Children;
Node(): startInclude(false) {} Node(): startInclude(false) {}
void clear() { startInclude=false; children.clear(); } void clear() { startInclude=false; children.clear(); }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment