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 /bridges/source | |
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 'bridges/source')
-rw-r--r-- | bridges/source/jni_uno/jni_base.h | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/bridges/source/jni_uno/jni_base.h b/bridges/source/jni_uno/jni_base.h index 6fc2aeb7b447..d4a937f7af8e 100644 --- a/bridges/source/jni_uno/jni_base.h +++ b/bridges/source/jni_uno/jni_base.h @@ -58,8 +58,8 @@ class JNI_context JNIEnv * m_env; jobject m_class_loader; - JNI_context( JNI_context & ) = delete; - void operator = ( JNI_context ) = delete; + JNI_context( JNI_context const & ) = delete; + JNI_context& operator = ( JNI_context const &) = delete; void java_exc_occurred() const; public: @@ -121,8 +121,8 @@ class JNI_guarded_context : private ::jvmaccess::VirtualMachine::AttachGuard, public JNI_context { - JNI_guarded_context( JNI_guarded_context & ) = delete; - void operator = ( JNI_guarded_context ) = delete; + JNI_guarded_context( JNI_guarded_context const & ) = delete; + JNI_guarded_context& operator = ( JNI_guarded_context const &) = delete; public: explicit JNI_guarded_context( @@ -229,8 +229,8 @@ class TypeDescr { typelib_TypeDescription * m_td; - TypeDescr( TypeDescr & ) = delete; - void operator = ( TypeDescr ) = delete; + TypeDescr( TypeDescr const & ) = delete; + TypeDescr& operator = ( TypeDescr const & ) = delete; public: inline explicit TypeDescr( typelib_TypeDescriptionReference * td_ref ); |