The initialization went through a couple of getter/setter methods (one of them virtual), but the field can easily be made a constant initialized at compile time with no dynamic lookup.
I'm actually fixing a couple of IDE warnings here: one about virtual calls in constructors (ClassIndex()) and one about "unnecessary" semicolons after the plCreator.h REGISTER_* macros.
The initialization went through a couple of getter/setter methods (one of them virtual), but the field can easily be made a constant initialized at compile time with no dynamic lookup.
I'm actually fixing a couple of IDE warnings here: one about virtual calls in constructors (
ClassIndex()
) and one about "unnecessary" semicolons after the plCreator.hREGISTER_*
macros.