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 /connectivity/source/inc | |
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 'connectivity/source/inc')
-rw-r--r-- | connectivity/source/inc/java/ContextClassLoader.hxx | 4 | ||||
-rw-r--r-- | connectivity/source/inc/java/LocalRef.hxx | 4 | ||||
-rw-r--r-- | connectivity/source/inc/java/lang/Object.hxx | 8 |
3 files changed, 8 insertions, 8 deletions
diff --git a/connectivity/source/inc/java/ContextClassLoader.hxx b/connectivity/source/inc/java/ContextClassLoader.hxx index e441ffb16656..e8fc1ac15725 100644 --- a/connectivity/source/inc/java/ContextClassLoader.hxx +++ b/connectivity/source/inc/java/ContextClassLoader.hxx @@ -64,8 +64,8 @@ namespace connectivity { namespace jdbc } private: - ContextClassLoaderScope(ContextClassLoaderScope &) = delete; - void operator =(ContextClassLoaderScope &) = delete; + ContextClassLoaderScope(ContextClassLoaderScope const &) = delete; + ContextClassLoaderScope& operator =(ContextClassLoaderScope const &) = delete; JNIEnv& m_environment; LocalRef< jobject > m_currentThread; diff --git a/connectivity/source/inc/java/LocalRef.hxx b/connectivity/source/inc/java/LocalRef.hxx index d197e25e11f8..18beca5e6f36 100644 --- a/connectivity/source/inc/java/LocalRef.hxx +++ b/connectivity/source/inc/java/LocalRef.hxx @@ -76,8 +76,8 @@ namespace connectivity { namespace jdbc bool is() const { return m_object != nullptr; } private: - LocalRef(LocalRef &) = delete; - void operator =(LocalRef &) = delete; + LocalRef(LocalRef const &) = delete; + LocalRef& operator =(LocalRef const &) = delete; JNIEnv& m_environment; T m_object; diff --git a/connectivity/source/inc/java/lang/Object.hxx b/connectivity/source/inc/java/lang/Object.hxx index 95309cb903f7..f82e307279bf 100644 --- a/connectivity/source/inc/java/lang/Object.hxx +++ b/connectivity/source/inc/java/lang/Object.hxx @@ -43,8 +43,8 @@ namespace connectivity class SDBThreadAttach { jvmaccess::VirtualMachine::AttachGuard m_aGuard; - SDBThreadAttach(SDBThreadAttach&) = delete; - SDBThreadAttach& operator= (SDBThreadAttach&) = delete; + SDBThreadAttach(SDBThreadAttach const &) = delete; + SDBThreadAttach& operator= (SDBThreadAttach const &) = delete; public: SDBThreadAttach(); ~SDBThreadAttach(); @@ -65,8 +65,8 @@ namespace connectivity class java_lang_Object { - java_lang_Object& operator= (java_lang_Object&) = delete; - java_lang_Object(java_lang_Object&) = delete; + java_lang_Object& operator= (java_lang_Object const &) = delete; + java_lang_Object(java_lang_Object const &) = delete; protected: // The Java handle to this class |