summaryrefslogtreecommitdiff
path: root/bridges
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2019-09-18 14:15:59 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2019-09-19 11:42:47 +0200
commit82572caae4a282cdf79456b977508ca71507c584 (patch)
treebefc8478f8cd9bf7e7c9a87a776b063a9ed4b718 /bridges
parent71ef762f21ada8c25aad2183065478171e985e8c (diff)
improve and enable loplugin:fragiledestructor
Where the problem was benign and the class was not extended, I marked the class as final. Where the problem was benign and the class was extended, I marked the relevant callee methods as final. Other cases were excluded in the plugin. Change-Id: Idb762fb2206af4e8b534aa35ff77f8368c7909bc Reviewed-on: https://gerrit.libreoffice.org/79089 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'bridges')
-rw-r--r--bridges/source/cpp_uno/gcc3_linux_x86-64/rtti.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/bridges/source/cpp_uno/gcc3_linux_x86-64/rtti.cxx b/bridges/source/cpp_uno/gcc3_linux_x86-64/rtti.cxx
index 350e5df4e6a2..faf45a8b0590 100644
--- a/bridges/source/cpp_uno/gcc3_linux_x86-64/rtti.cxx
+++ b/bridges/source/cpp_uno/gcc3_linux_x86-64/rtti.cxx
@@ -64,7 +64,7 @@ public:
~GeneratedPad() override { get()->~type_info(); }
- std::type_info * get() const override
+ std::type_info * get() const override final
{ return reinterpret_cast<std::type_info *>(pad_.get()); }
private: