summaryrefslogtreecommitdiff
path: root/desktop
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 /desktop
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 'desktop')
-rw-r--r--desktop/source/app/cmdlineargs.cxx2
-rw-r--r--desktop/source/app/cmdlineargs.hxx1
2 files changed, 0 insertions, 3 deletions
diff --git a/desktop/source/app/cmdlineargs.cxx b/desktop/source/app/cmdlineargs.cxx
index 4d5a3bb78396..95f00cb097bc 100644
--- a/desktop/source/app/cmdlineargs.cxx
+++ b/desktop/source/app/cmdlineargs.cxx
@@ -251,8 +251,6 @@ CommandLineArgs::Supplier::Exception::Exception() {}
CommandLineArgs::Supplier::Exception::Exception(Exception const &) {}
-CommandLineArgs::Supplier::Exception::~Exception() {}
-
CommandLineArgs::Supplier::Exception &
CommandLineArgs::Supplier::Exception::operator =(Exception const &)
{ return *this; }
diff --git a/desktop/source/app/cmdlineargs.hxx b/desktop/source/app/cmdlineargs.hxx
index fd9aa8f11380..74236f5b314f 100644
--- a/desktop/source/app/cmdlineargs.hxx
+++ b/desktop/source/app/cmdlineargs.hxx
@@ -40,7 +40,6 @@ class CommandLineArgs
public:
Exception();
Exception(Exception const &);
- ~Exception();
Exception & operator =(Exception const &);
};