summaryrefslogtreecommitdiff
path: root/package
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2022-03-14 20:14:41 +0100
committerStephan Bergmann <sbergman@redhat.com>2022-03-14 22:30:44 +0100
commit83dd8deed7b5013fa0f0592140e136770fbda4d6 (patch)
tree60cd9f685c5446c118d3ce4099002283f5c58c59 /package
parent9aae749e99a92e6622fe18539e186e5cb07fa721 (diff)
loplugin:trivialdestructor (-stdlib=libc++)
That these are only flagged when building against libc++ and not against libstdc++ is a consequence of the plugin's dependence on implementation details of the relevant classes, but so be it. Change-Id: I6b96f81939edab2b8e618aa53c9fe23492edfbbd Reviewed-on: https://gerrit.libreoffice.org/c/core/+/131562 Tested-by: Jenkins Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
Diffstat (limited to 'package')
-rw-r--r--package/inc/ZipEnumeration.hxx1
-rw-r--r--package/source/zipapi/ZipEnumeration.cxx1
2 files changed, 0 insertions, 2 deletions
diff --git a/package/inc/ZipEnumeration.hxx b/package/inc/ZipEnumeration.hxx
index f0a810ea29cd..50533cc28920 100644
--- a/package/inc/ZipEnumeration.hxx
+++ b/package/inc/ZipEnumeration.hxx
@@ -30,7 +30,6 @@ public:
bool hasMoreElements();
const ZipEntry* nextElement();
ZipEnumeration(EntryHash& rNewEntryHash);
- ~ZipEnumeration();
};
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/package/source/zipapi/ZipEnumeration.cxx b/package/source/zipapi/ZipEnumeration.cxx
index 9849c6854f61..0c036882f079 100644
--- a/package/source/zipapi/ZipEnumeration.cxx
+++ b/package/source/zipapi/ZipEnumeration.cxx
@@ -26,7 +26,6 @@ ZipEnumeration::ZipEnumeration(EntryHash& rNewEntryHash)
, aIterator(rEntryHash.begin())
{
}
-ZipEnumeration::~ZipEnumeration() {}
bool ZipEnumeration::hasMoreElements() { return (aIterator != rEntryHash.end()); }
const ZipEntry* ZipEnumeration::nextElement()