This isn't calling the base ctor (that has already happened before RoomWheelData's ctor is called), this is creating a new WheelItemBaseData and then throwing it away.
This commit is contained in:
@@ -9,7 +9,7 @@
|
||||
|
||||
struct RoomWheelData : public WheelItemBaseData
|
||||
{
|
||||
RoomWheelData() : m_iFlags(0) { WheelItemBaseData::WheelItemBaseData(); }
|
||||
RoomWheelData() : m_iFlags(0) { }
|
||||
RoomWheelData( WheelItemType wit, const RString& sTitle, const RString& sDesc, RageColor color ):
|
||||
WheelItemBaseData( wit, sTitle, color ), m_sDesc(sDesc), m_iFlags(0) { };
|
||||
|
||||
|
||||
Reference in New Issue
Block a user