[Interest] Destructor of QThread is not virtual in 4.7.1

Giuseppe D'Angelo dangelog at gmail.com
Thu Aug 1 19:54:13 CEST 2013


On 1 August 2013 19:50, Bill Crocker <william.crocker at analog.com> wrote:
>
>
> Note that QThread already has a virtual member function, run(),
> so this would not be it's first.
>
> Is true?

No. QThread inherits from QObject, which has a virtual dtor. That's
enough for making any subclasses' dtor virtual.

-- 
Giuseppe D'Angelo



More information about the Interest mailing list