From 83dd8deed7b5013fa0f0592140e136770fbda4d6 Mon Sep 17 00:00:00 2001 From: Stephan Bergmann Date: Mon, 14 Mar 2022 20:14:41 +0100 Subject: 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 --- sw/source/core/doc/docbm.cxx | 4 ---- 1 file changed, 4 deletions(-) (limited to 'sw/source/core/doc') diff --git a/sw/source/core/doc/docbm.cxx b/sw/source/core/doc/docbm.cxx index c15c1dd3fcea..371111c33edc 100644 --- a/sw/source/core/doc/docbm.cxx +++ b/sw/source/core/doc/docbm.cxx @@ -86,10 +86,6 @@ auto IDocumentMarkAccess::iterator::operator=(iterator && rOther) noexcept -> it return *this; } -IDocumentMarkAccess::iterator::~iterator() -{ -} - // ARGH why does it *need* to return const& ? ::sw::mark::IMark* /*const&*/ IDocumentMarkAccess::iterator::operator*() const -- cgit