diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2018-11-01 09:48:16 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2018-11-02 07:03:08 +0100 |
commit | 8467d764187691f53e66d3568270197b162332d8 (patch) | |
tree | 4516bb3ea935427d4549ce09615a22bf5663096a /codemaker | |
parent | 9ec1f722caedbeb04f96258f23442f8ee92a42be (diff) |
fix signatures of deleted copy/assign operators
Change-Id: Id1a0749b78a7021be3564487fb974d7084705129
Reviewed-on: https://gerrit.libreoffice.org/62718
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'codemaker')
-rw-r--r-- | codemaker/source/cppumaker/includes.hxx | 4 | ||||
-rw-r--r-- | codemaker/source/javamaker/classfile.hxx | 8 |
2 files changed, 6 insertions, 6 deletions
diff --git a/codemaker/source/cppumaker/includes.hxx b/codemaker/source/cppumaker/includes.hxx index 3e7c20569ee2..35c3c7877712 100644 --- a/codemaker/source/cppumaker/includes.hxx +++ b/codemaker/source/cppumaker/includes.hxx @@ -65,8 +65,8 @@ public: FileStream & out, OString const & entityName, bool hpp); private: - Includes(Includes &) = delete; - void operator =(const Includes&) = delete; + Includes(Includes const &) = delete; + Includes& operator =(const Includes&) = delete; bool isInterfaceType(OString const & entityName) const; diff --git a/codemaker/source/javamaker/classfile.hxx b/codemaker/source/javamaker/classfile.hxx index 179fea21ef77..6f536802b50c 100644 --- a/codemaker/source/javamaker/classfile.hxx +++ b/codemaker/source/javamaker/classfile.hxx @@ -130,8 +130,8 @@ public: Position getPosition() const; private: - Code(Code &) = delete; - void operator =(const Code&) = delete; + Code(Code const &) = delete; + Code& operator =(const Code&) = delete; explicit Code(ClassFile & classFile); @@ -181,8 +181,8 @@ public: private: typedef std::map< rtl::OString, sal_uInt16 > Map; - ClassFile(ClassFile &) = delete; - void operator =(const ClassFile&) = delete; + ClassFile(ClassFile const &) = delete; + ClassFile& operator =(const ClassFile&) = delete; sal_uInt16 nextConstantPoolIndex(sal_uInt16 width); sal_uInt16 addUtf8Info(rtl::OString const & value); |