summaryrefslogtreecommitdiff
path: root/configmgr/source/partial.hxx
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2015-02-15 20:54:22 +0000
committerCaolán McNamara <caolanm@redhat.com>2015-02-16 12:54:45 +0000
commit01a8bda416d1598f5486f95b6a57d61ff09873ed (patch)
treec37934d13308426d22599f63bf8666305a6b1f80 /configmgr/source/partial.hxx
parenta1ceacc17e3f30d5e9c06b3218ad8ec26ca2f1b9 (diff)
boost::noncopyable->'= delete'
Change-Id: If0f898a1e912fcd2095d8ba88b2b8046596e16ea
Diffstat (limited to 'configmgr/source/partial.hxx')
-rw-r--r--configmgr/source/partial.hxx11
1 files changed, 6 insertions, 5 deletions
diff --git a/configmgr/source/partial.hxx b/configmgr/source/partial.hxx
index 75411aba84b7..a9b10f9eb80b 100644
--- a/configmgr/source/partial.hxx
+++ b/configmgr/source/partial.hxx
@@ -22,17 +22,15 @@
#include <sal/config.h>
-#include <boost/unordered_map.hpp>
#include <set>
-
-#include <boost/noncopyable.hpp>
+#include <unordered_map>
#include "path.hxx"
#include <rtl/ustring.hxx>
namespace configmgr {
-class Partial: private boost::noncopyable {
+class Partial {
public:
enum Containment { CONTAINS_NOT, CONTAINS_SUBNODES, CONTAINS_NODE };
@@ -45,8 +43,11 @@ public:
Containment contains(Path const & path) const;
private:
+ Partial(const Partial&) SAL_DELETED_FUNCTION;
+ Partial& operator=(const Partial&) SAL_DELETED_FUNCTION;
+
struct Node {
- typedef boost::unordered_map< OUString, Node, OUStringHash > Children;
+ typedef std::unordered_map< OUString, Node, OUStringHash > Children;
Node(): startInclude(false) {}
void clear() { startInclude=false; children.clear(); }