summaryrefslogtreecommitdiff
path: root/jvmaccess
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2022-03-10 14:41:47 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2022-03-11 09:06:06 +0100
commit7002caa97e10d29353d3490b4fbb782d436575b3 (patch)
tree98c254c9f94272e145417034f5cdc85b942edf74 /jvmaccess
parenta370e7ff7e8225b8343678401eca5a1721b2b9bb (diff)
new loplugin:trivialdestructor
look for potentially trivial destructors that can then be elided Change-Id: I435c251bd4291b5864c20d68f88676faac7c43fb Reviewed-on: https://gerrit.libreoffice.org/c/core/+/131318 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'jvmaccess')
-rw-r--r--jvmaccess/source/unovirtualmachine.cxx2
-rw-r--r--jvmaccess/source/virtualmachine.cxx3
2 files changed, 0 insertions, 5 deletions
diff --git a/jvmaccess/source/unovirtualmachine.cxx b/jvmaccess/source/unovirtualmachine.cxx
index d42a3a31d8ae..5387497326d4 100644
--- a/jvmaccess/source/unovirtualmachine.cxx
+++ b/jvmaccess/source/unovirtualmachine.cxx
@@ -34,8 +34,6 @@ UnoVirtualMachine::CreationException::CreationException(
CreationException const &)
{}
-UnoVirtualMachine::CreationException::~CreationException() {}
-
UnoVirtualMachine::CreationException &
UnoVirtualMachine::CreationException::operator =(CreationException const &) {
return *this;
diff --git a/jvmaccess/source/virtualmachine.cxx b/jvmaccess/source/virtualmachine.cxx
index fdd6df8524b3..c37d555f23ca 100644
--- a/jvmaccess/source/virtualmachine.cxx
+++ b/jvmaccess/source/virtualmachine.cxx
@@ -33,9 +33,6 @@ VirtualMachine::AttachGuard::CreationException::CreationException(
CreationException const &)
{}
-VirtualMachine::AttachGuard::CreationException::~CreationException()
-{}
-
VirtualMachine::AttachGuard::CreationException &
VirtualMachine::AttachGuard::CreationException::operator =(
CreationException const &)