diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2015-02-07 12:09:05 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2015-02-07 12:35:56 +0100 |
commit | 4d79146adf941236d9fd2aeeff5cd291ec44d77e (patch) | |
tree | 12e06b47244ca8ff41517fe5507bacdb726834c5 /include/codemaker | |
parent | loplugin:deletedspecial (diff) | |
download | core-4d79146adf941236d9fd2aeeff5cd291ec44d77e.tar.gz core-4d79146adf941236d9fd2aeeff5cd291ec44d77e.zip |
loplugin:deletedspecial
Change-Id: Ice7788ebcfbc638ec21a824c4267757218c14478
Diffstat (limited to 'include/codemaker')
-rw-r--r-- | include/codemaker/exceptiontree.hxx | 8 | ||||
-rw-r--r-- | include/codemaker/generatedtypeset.hxx | 4 |
2 files changed, 6 insertions, 6 deletions
diff --git a/include/codemaker/exceptiontree.hxx b/include/codemaker/exceptiontree.hxx index 2e4795c5f020..091ff034bf72 100644 --- a/include/codemaker/exceptiontree.hxx +++ b/include/codemaker/exceptiontree.hxx @@ -54,8 +54,8 @@ struct ExceptionTreeNode { Children children; private: - ExceptionTreeNode(ExceptionTreeNode &); // not implemented - void operator =(ExceptionTreeNode); // not implemented + ExceptionTreeNode(ExceptionTreeNode &) SAL_DELETED_FUNCTION; + void operator =(ExceptionTreeNode) SAL_DELETED_FUNCTION; void clearChildren(); }; @@ -107,8 +107,8 @@ public: ExceptionTreeNode const & getRoot() const { return m_root; } private: - ExceptionTree(ExceptionTree &); // not implemented - void operator =(const ExceptionTree&); // not implemented + ExceptionTree(ExceptionTree &) SAL_DELETED_FUNCTION; + void operator =(const ExceptionTree&) SAL_DELETED_FUNCTION; ExceptionTreeNode m_root; }; diff --git a/include/codemaker/generatedtypeset.hxx b/include/codemaker/generatedtypeset.hxx index cbe5dc38c2c4..ca4ad24c68be 100644 --- a/include/codemaker/generatedtypeset.hxx +++ b/include/codemaker/generatedtypeset.hxx @@ -60,8 +60,8 @@ public: { return m_set.find(type) != m_set.end(); } private: - GeneratedTypeSet(GeneratedTypeSet &); // not implemented - void operator =(const GeneratedTypeSet&); // not implemented + GeneratedTypeSet(GeneratedTypeSet &) SAL_DELETED_FUNCTION; + void operator =(const GeneratedTypeSet&) SAL_DELETED_FUNCTION; std::unordered_set< OString, OStringHash > m_set; }; |