diff options
author | Caolán McNamara <caolanm@redhat.com> | 2015-02-15 20:54:22 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2015-02-16 12:54:45 +0000 |
commit | 01a8bda416d1598f5486f95b6a57d61ff09873ed (patch) | |
tree | c37934d13308426d22599f63bf8666305a6b1f80 /configmgr/source/modifications.hxx | |
parent | boost::foo_ptr->std::foo_ptr (diff) | |
download | core-01a8bda416d1598f5486f95b6a57d61ff09873ed.tar.gz core-01a8bda416d1598f5486f95b6a57d61ff09873ed.zip |
boost::noncopyable->'= delete'
Change-Id: If0f898a1e912fcd2095d8ba88b2b8046596e16ea
Diffstat (limited to 'configmgr/source/modifications.hxx')
-rw-r--r-- | configmgr/source/modifications.hxx | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/configmgr/source/modifications.hxx b/configmgr/source/modifications.hxx index 0521da5ae9ab..7fac66758403 100644 --- a/configmgr/source/modifications.hxx +++ b/configmgr/source/modifications.hxx @@ -22,18 +22,17 @@ #include <sal/config.h> -#include <boost/unordered_map.hpp> -#include <boost/noncopyable.hpp> +#include <unordered_map> #include "path.hxx" namespace configmgr { -class Modifications: private boost::noncopyable { +class Modifications { public: struct Node { - typedef boost::unordered_map<OUString, Node, OUStringHash> Children; + typedef std::unordered_map<OUString, Node, OUStringHash> Children; Children children; }; @@ -49,6 +48,9 @@ public: Node const & getRoot() const { return root_;} private: + Modifications(const Modifications&) SAL_DELETED_FUNCTION; + Modifications& operator=(const Modifications&) SAL_DELETED_FUNCTION; + Node root_; }; |