CGuiPane: Make static resolving of virtual function in ctor explicit

virtual functions statically resolve in the constructor and destructor.
This makes it explicit to the user that this static resolving behavior
is indeed what is intended
This commit is contained in:
Lioncash 2020-05-09 22:23:42 -04:00
parent 665b4f496d
commit b3d6901f56
1 changed files with 1 additions and 1 deletions

View File

@ -4,7 +4,7 @@ namespace urde {
CGuiPane::CGuiPane(const CGuiWidgetParms& parms, const zeus::CVector2f& dim, const zeus::CVector3f& scaleCenter) CGuiPane::CGuiPane(const CGuiWidgetParms& parms, const zeus::CVector2f& dim, const zeus::CVector3f& scaleCenter)
: CGuiWidget(parms), xb8_dim(dim), xc8_scaleCenter(scaleCenter) { : CGuiWidget(parms), xb8_dim(dim), xc8_scaleCenter(scaleCenter) {
InitializeBuffers(); CGuiPane::InitializeBuffers();
} }
void CGuiPane::ScaleDimensions(const zeus::CVector3f& scale) { void CGuiPane::ScaleDimensions(const zeus::CVector3f& scale) {