Prefer using 'override' instead of 'virtual'

warning: prefer using 'override' or (rarely) 'final' instead of
'virtual' [modernize-use-override]

Change-Id: I6dac7a62b627fa1353b4455e1af92f869c2571cc
Reviewed-by: Marco Benelli <marco.benelli@qt.io>
This commit is contained in:
Alessandro Portale
2018-07-11 07:31:38 +02:00
parent 3c8dec2398
commit 3d3f14e3fe
32 changed files with 242 additions and 242 deletions

View File

@@ -58,7 +58,7 @@ public:
public:
GCRunner(StringTablePrivate &stringTable): m_stringTable(stringTable) {}
virtual void run() { m_stringTable.GC(); }
void run() override { m_stringTable.GC(); }
} m_gcRunner;
mutable QMutex m_lock;