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:
Steve Checkoway
2007-02-17 13:14:28 +00:00
parent 515bb3b263
commit bf585ff477
+1 -1
View File
@@ -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) { };