Rockbox.org home
release
dev builds
extras
themes manual
wiki
device status forums
mailing lists
IRC bugs
patches
dev guide



Rockbox mail archive

Subject: Re: Destructors in Theme Editor: virtual or non virtual?

Re: Destructors in Theme Editor: virtual or non virtual?

From: Al Le <al.le_at_gmx.de>
Date: Thu, 17 Jun 2010 22:35:57 +0200

On 17.06.2010 20:51, Magnus Holmgren wrote:
> According to the C++ FAQ Lite, the destructor is automatically virtual
> if the base class destructor is. See here for details:
>
> http://www.parashift.com/c++-faq-lite/virtual-functions.html#faq-20.7

This is exactly why I wrote that the code was OK -- since the
destructors of the base classes (part of Qt library) are virtual. So
there is no need to declare them as virtual in our code. But it also
does no harm.
Received on 2010-06-17

Page template was last modified "Tue Sep 7 00:00:02 2021" The Rockbox Crew -- Privacy Policy