diff options
author | Jarek Kobus <jaroslaw.kobus@qt.io> | 2020-11-18 17:04:54 +0100 |
---|---|---|
committer | Jarek Kobus <jaroslaw.kobus@qt.io> | 2020-11-19 09:45:53 +0000 |
commit | 48c2afe1576932ebeea1307e4e312e69a50955b6 (patch) | |
tree | eaf6269000b4ba96c1453ea45ee2a6dbea1d39bf /src/plugins/texteditor/findincurrentfile.h | |
parent | b2a766a79ac778febff87f0def34cf6d3f4f93e3 (diff) | |
download | qt-creator-48c2afe1576932ebeea1307e4e312e69a50955b6.tar.gz |
Decorate some classes and methods with final keyword
This way we silence the clang warnings about calling
virtual methods from c'tor or from d'tor:
[clang-analyzer-optin.cplusplus.VirtualCall]
Change-Id: I8d6318b490152133da4833bda2ba28622bce30dd
Reviewed-by: hjk <hjk@qt.io>
Reviewed-by: Alessandro Portale <alessandro.portale@qt.io>
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
Diffstat (limited to 'src/plugins/texteditor/findincurrentfile.h')
-rw-r--r-- | src/plugins/texteditor/findincurrentfile.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/texteditor/findincurrentfile.h b/src/plugins/texteditor/findincurrentfile.h index 59015a9cfe..a321dc363d 100644 --- a/src/plugins/texteditor/findincurrentfile.h +++ b/src/plugins/texteditor/findincurrentfile.h @@ -37,7 +37,7 @@ class IDocument; namespace TextEditor { namespace Internal { -class FindInCurrentFile : public BaseFileFind +class FindInCurrentFile final : public BaseFileFind { Q_OBJECT |