Kaydet (Commit) 4d79146a authored tarafından Stephan Bergmann's avatar Stephan Bergmann

loplugin:deletedspecial

Change-Id: Ice7788ebcfbc638ec21a824c4267757218c14478
üst 5b736d96
......@@ -67,8 +67,8 @@ public:
FileStream & out, OString const & entityName, bool hpp);
private:
Includes(Includes &); // not implemented
void operator =(const Includes&); // not implemented;
Includes(Includes &) SAL_DELETED_FUNCTION;
void operator =(const Includes&) SAL_DELETED_FUNCTION;
bool isInterfaceType(OString const & entityName) const;
......
......@@ -130,8 +130,8 @@ public:
Position getPosition() const;
private:
Code(Code &); // not implemented
void operator =(const Code&); // not implemented
Code(Code &) SAL_DELETED_FUNCTION;
void operator =(const Code&) SAL_DELETED_FUNCTION;
Code(ClassFile & classFile);
......@@ -181,8 +181,8 @@ public:
private:
typedef std::map< rtl::OString, sal_uInt16 > Map;
ClassFile(ClassFile &); // not implemented
void operator =(const ClassFile&); // not implemented
ClassFile(ClassFile &) SAL_DELETED_FUNCTION;
void operator =(const ClassFile&) SAL_DELETED_FUNCTION;
sal_uInt16 nextConstantPoolIndex(sal_uInt16 width);
sal_uInt16 addUtf8Info(rtl::OString const & value);
......
......@@ -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;
};
......
......@@ -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;
};
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment