This warning will occur (for compilers that support it) any time you initialize class members in a different order than in which they are defined in the class (or, in this case, with the base class constructor called first). It’s not really specific to construction of derived classes, but rather to all classes.
↧