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 | |
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')
-rw-r--r-- | bridges/inc/bridge.hxx | 4 | ||||
-rw-r--r-- | bridges/inc/cppinterfaceproxy.hxx | 4 | ||||
-rw-r--r-- | bridges/inc/unointerfaceproxy.hxx | 4 | ||||
-rw-r--r-- | bridges/inc/vtablefactory.hxx | 4 | ||||
-rw-r--r-- | bridges/source/jni_uno/jni_base.h | 12 |
5 files changed, 14 insertions, 14 deletions
diff --git a/bridges/inc/bridge.hxx b/bridges/inc/bridge.hxx index b702dd9b6e07..9e33cb53bb91 100644 --- a/bridges/inc/bridge.hxx +++ b/bridges/inc/bridge.hxx @@ -74,8 +74,8 @@ public: uno_Mapping * getUno2Cpp() { return &aUno2Cpp; } private: - Bridge(Bridge &) = delete; - void operator =(const Bridge&) = delete; + Bridge(Bridge const &) = delete; + Bridge& operator =(const Bridge&) = delete; Bridge( uno_ExtEnvironment * pCppEnv_, uno_ExtEnvironment * pUnoEnv_, diff --git a/bridges/inc/cppinterfaceproxy.hxx b/bridges/inc/cppinterfaceproxy.hxx index d508146bdcb0..f4966d5a2eae 100644 --- a/bridges/inc/cppinterfaceproxy.hxx +++ b/bridges/inc/cppinterfaceproxy.hxx @@ -74,8 +74,8 @@ public: static CppInterfaceProxy * castInterfaceToProxy(void * pInterface); private: - CppInterfaceProxy(CppInterfaceProxy &) = delete; - void operator =(const CppInterfaceProxy&) = delete; + CppInterfaceProxy(CppInterfaceProxy const &) = delete; + CppInterfaceProxy& operator =(const CppInterfaceProxy&) = delete; CppInterfaceProxy( Bridge * pBridge_, uno_Interface * pUnoI_, diff --git a/bridges/inc/unointerfaceproxy.hxx b/bridges/inc/unointerfaceproxy.hxx index 374ac956caec..5bc66988f181 100644 --- a/bridges/inc/unointerfaceproxy.hxx +++ b/bridges/inc/unointerfaceproxy.hxx @@ -73,8 +73,8 @@ public: com::sun::star::uno::XInterface * getCppI() { return pCppI; } private: - UnoInterfaceProxy(UnoInterfaceProxy &) = delete; - void operator =(const UnoInterfaceProxy&) = delete; + UnoInterfaceProxy(UnoInterfaceProxy const &) = delete; + UnoInterfaceProxy& operator =(const UnoInterfaceProxy&) = delete; UnoInterfaceProxy( Bridge * pBridge_, com::sun::star::uno::XInterface * pCppI_, diff --git a/bridges/inc/vtablefactory.hxx b/bridges/inc/vtablefactory.hxx index 70c87c385952..facb437530ef 100644 --- a/bridges/inc/vtablefactory.hxx +++ b/bridges/inc/vtablefactory.hxx @@ -121,8 +121,8 @@ private: class BaseOffset; - VtableFactory(VtableFactory &) = delete; - void operator =(const VtableFactory&) = delete; + VtableFactory(VtableFactory const &) = delete; + VtableFactory& operator =(const VtableFactory&) = delete; bool createBlock(Block &block, sal_Int32 slotCount) const; 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 ); |