path: root/src/corelib/io/qfiledevice.h
diff options
authorAlessandro Portale <>2018-07-25 23:25:10 +0200
committerAlessandro Portale <>2018-09-25 13:34:19 +0000
commitd0c159c8e306709629e3af0b83b464c5cea15754 (patch)
tree45258dc9f251916707f64ff6dda515316bef4e6b /src/corelib/io/qfiledevice.h
parent35ec3b49e1b0e7c72643a4e5b835bff57762f8cb (diff)
Fix a few overrides in Qt Core
This change removes redundant 'virtual' from function declarations. Clang Tidy's modernize-use-override check reports: warning: 'virtual' is redundant since the function is already declared 'override' CppCoreGuidelines say: C.128: Virtual functions should specify exactly one of virtual, override, or final Change-Id: I9a4bdd6cc041d46ae64b25597ba4f7268ac4c2b7 Reviewed-by: Friedemann Kleint <> Reviewed-by: Kevin Funk <>
Diffstat (limited to 'src/corelib/io/qfiledevice.h')
1 files changed, 1 insertions, 1 deletions
diff --git a/src/corelib/io/qfiledevice.h b/src/corelib/io/qfiledevice.h
index af41bec2f6..2d524193c5 100644
--- a/src/corelib/io/qfiledevice.h
+++ b/src/corelib/io/qfiledevice.h
@@ -100,7 +100,7 @@ public:
FileError error() const;
void unsetError();
- virtual void close() override;
+ void close() override;
bool isSequential() const override;