summaryrefslogtreecommitdiff
path: root/codemaker/source/cppumaker/dependencies.hxx
diff options
context:
space:
mode:
authorJochen Nitschke <j.nitschke+logerrit@ok.de>2016-04-07 20:26:54 +0200
committerMichael Stahl <mstahl@redhat.com>2016-04-08 09:32:48 +0000
commit98d7b02f2b69f2f88a03054183933df7f190017d (patch)
tree690b9494931814bc3ea0d80391d0af04ee380a55 /codemaker/source/cppumaker/dependencies.hxx
parentb7bf06d5d6f640df1304b605a2eaa5276f998dcb (diff)
tdf#94306 replace boost::noncopyable in cppuhelper
and related modules. Replace with C++11 delete copy-constructur and copy-assignment. Change-Id: I18aa9fe4ff696f9b5472cbe4cd0097cb174618b7 Reviewed-on: https://gerrit.libreoffice.org/23904 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Michael Stahl <mstahl@redhat.com>
Diffstat (limited to 'codemaker/source/cppumaker/dependencies.hxx')
-rw-r--r--codemaker/source/cppumaker/dependencies.hxx6
1 files changed, 4 insertions, 2 deletions
diff --git a/codemaker/source/cppumaker/dependencies.hxx b/codemaker/source/cppumaker/dependencies.hxx
index afd902bdd491..e1513a3250cc 100644
--- a/codemaker/source/cppumaker/dependencies.hxx
+++ b/codemaker/source/cppumaker/dependencies.hxx
@@ -24,7 +24,6 @@
#include <map>
-#include "boost/noncopyable.hpp"
#include "rtl/ref.hxx"
namespace rtl { class OUString; }
@@ -39,7 +38,7 @@ namespace codemaker { namespace cppumaker {
<p>This class is not multi-thread&ndash;safe.</p>
*/
-class Dependencies: private boost::noncopyable {
+class Dependencies {
public:
/**
Flags to distinguish whether or not one entity depends on another entity
@@ -66,6 +65,9 @@ public:
~Dependencies();
+ Dependencies(const Dependencies&) = delete;
+ const Dependencies& operator=(const Dependencies&) = delete;
+
Map const & getMap() const { return m_map; }
bool hasBooleanDependency() const { return m_booleanDependency; }