[Development] override keyword on destructors

Giuseppe D'Angelo giuseppe.dangelo at kdab.com
Mon Aug 20 16:46:44 CEST 2018


On 20/08/18 16:40, Eike Ziller wrote:
> For example when removing QObject as a base class in a class hierarchy.
> We regularly do these kind of changes in Qt Creator, when we find out that we don’t need the baggage of QObject after all for something.

Do you have an example of such a change, that wouldn't be caught by 
-Wall / -Weffc++?

Cheers,
-- 
Giuseppe D'Angelo | giuseppe.dangelo at kdab.com | Senior Software Engineer
KDAB (France) S.A.S., a KDAB Group company
Tel. France +33 (0)4 90 84 08 53, http://www.kdab.com
KDAB - The Qt, C++ and OpenGL Experts

-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 4007 bytes
Desc: S/MIME Cryptographic Signature
URL: <http://lists.qt-project.org/pipermail/development/attachments/20180820/2e4039fb/attachment.bin>


More information about the Development mailing list