This causes "default constructor could not be generated" warnings (sort of

spuriously, but it's a useful warning and I don't want to turn it off), and we don't
need to declare every member const to have a const object--you just have
a const pointer to the object.
This commit is contained in:
Glenn Maynard
2006-12-05 22:53:22 +00:00
parent 006dfd674c
commit 0f95d7be97
2 changed files with 24 additions and 24 deletions
+9 -9
View File
@@ -30,18 +30,18 @@ struct lua_State;
class Game
{
public:
const char *const m_szName;
const char * m_szName;
const bool m_bCountNotesSeparately; // Count multiple notes in a row as separate notes or as one note
const bool m_bAllowHopos; // allow Hammer-ons and Pull-offs? Only useful for guitar type input.
const InputScheme m_InputScheme;
bool m_bCountNotesSeparately; // Count multiple notes in a row as separate notes or as one note
bool m_bAllowHopos; // allow Hammer-ons and Pull-offs? Only useful for guitar type input.
InputScheme m_InputScheme;
TapNoteScore MapTapNoteScore( TapNoteScore tns ) const;
const TapNoteScore m_mapW1To;
const TapNoteScore m_mapW2To;
const TapNoteScore m_mapW3To;
const TapNoteScore m_mapW4To;
const TapNoteScore m_mapW5To;
TapNoteScore m_mapW1To;
TapNoteScore m_mapW2To;
TapNoteScore m_mapW3To;
TapNoteScore m_mapW4To;
TapNoteScore m_mapW5To;
//
// Lua