From 4d79146adf941236d9fd2aeeff5cd291ec44d77e Mon Sep 17 00:00:00 2001 From: Stephan Bergmann Date: Sat, 7 Feb 2015 12:09:05 +0100 Subject: loplugin:deletedspecial Change-Id: Ice7788ebcfbc638ec21a824c4267757218c14478 --- include/codemaker/exceptiontree.hxx | 8 ++++---- include/codemaker/generatedtypeset.hxx | 4 ++-- 2 files changed, 6 insertions(+), 6 deletions(-) (limited to 'include/codemaker') 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; }; -- cgit