diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2015-02-07 12:22:00 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2015-02-07 12:35:59 +0100 |
commit | 297690979ffad37df13b150d5bd7f00008a10a79 (patch) | |
tree | 4c55bfb4ae886aa11ce05cb1a8bb43265984e312 /include/jvmaccess | |
parent | 98eef2182dc5ed70709c714e7466774f254606ef (diff) |
loplugin:deletedspecial
Change-Id: I2d9d12c1f5574ce5f0aad216fb18fb94070c1eb1
Diffstat (limited to 'include/jvmaccess')
-rw-r--r-- | include/jvmaccess/classpath.hxx | 8 | ||||
-rw-r--r-- | include/jvmaccess/unovirtualmachine.hxx | 4 | ||||
-rw-r--r-- | include/jvmaccess/virtualmachine.hxx | 8 |
3 files changed, 10 insertions, 10 deletions
diff --git a/include/jvmaccess/classpath.hxx b/include/jvmaccess/classpath.hxx index aed2c8b4fd95..f412fd59a4aa 100644 --- a/include/jvmaccess/classpath.hxx +++ b/include/jvmaccess/classpath.hxx @@ -111,10 +111,10 @@ public: } private: - ClassPath(); // not defined - ClassPath(ClassPath &); // not defined - ~ClassPath(); // not defined - void operator =(ClassPath &); // not defined + ClassPath() SAL_DELETED_FUNCTION; //TODO: get rid of this class + ClassPath(ClassPath &) SAL_DELETED_FUNCTION; + ~ClassPath() SAL_DELETED_FUNCTION; + void operator =(ClassPath &) SAL_DELETED_FUNCTION; // Functions that replace JNIEnv, jobjectArray, and jclass with void *, so // that their mangled C++ names do not depend on the JDK version used at diff --git a/include/jvmaccess/unovirtualmachine.hxx b/include/jvmaccess/unovirtualmachine.hxx index 323cad717738..5b0e785dec23 100644 --- a/include/jvmaccess/unovirtualmachine.hxx +++ b/include/jvmaccess/unovirtualmachine.hxx @@ -88,8 +88,8 @@ public: void * getClassLoader() const { return m_classLoader;} private: - UnoVirtualMachine(UnoVirtualMachine &); // not defined - void operator =(UnoVirtualMachine &); // not defined + UnoVirtualMachine(UnoVirtualMachine &) SAL_DELETED_FUNCTION; + void operator =(UnoVirtualMachine &) SAL_DELETED_FUNCTION; virtual ~UnoVirtualMachine(); diff --git a/include/jvmaccess/virtualmachine.hxx b/include/jvmaccess/virtualmachine.hxx index 3da9da5a150c..0493e30d4978 100644 --- a/include/jvmaccess/virtualmachine.hxx +++ b/include/jvmaccess/virtualmachine.hxx @@ -82,8 +82,8 @@ public: inline JNIEnv * getEnvironment() const { return m_pEnvironment; } private: - AttachGuard(AttachGuard &); // not implemented - void operator =(AttachGuard); // not implemented + AttachGuard(AttachGuard &) SAL_DELETED_FUNCTION; + void operator =(AttachGuard) SAL_DELETED_FUNCTION; rtl::Reference< VirtualMachine > m_xMachine; JNIEnv * m_pEnvironment; @@ -128,8 +128,8 @@ public: JNIEnv * pMainThreadEnv); private: - VirtualMachine(VirtualMachine &); // not implemented - void operator =(VirtualMachine); // not implemented + VirtualMachine(VirtualMachine &) SAL_DELETED_FUNCTION; + void operator =(VirtualMachine) SAL_DELETED_FUNCTION; virtual ~VirtualMachine(); |