From 954313a94276f53289eeab15f62bc425a77f3e40 Mon Sep 17 00:00:00 2001 From: Glenn Maynard Date: Sat, 19 Mar 2005 21:30:33 +0000 Subject: [PATCH] fix dtors --- stepmania/src/ScoreKeeper.h | 1 + stepmania/src/ScoreKeeperMAX2.h | 1 + stepmania/src/ScoreKeeperRave.h | 2 +- 3 files changed, 3 insertions(+), 1 deletion(-) diff --git a/stepmania/src/ScoreKeeper.h b/stepmania/src/ScoreKeeper.h index de7c766761..18e8818b43 100644 --- a/stepmania/src/ScoreKeeper.h +++ b/stepmania/src/ScoreKeeper.h @@ -35,6 +35,7 @@ protected: public: ScoreKeeper(PlayerState* pPlayerState,PlayerStageStats* pPlayerStageStats) { m_pPlayerState=pPlayerState; m_pPlayerStageStats=pPlayerStageStats; } + virtual ~ScoreKeeper() { } virtual void Load( const vector& apSongs, const vector& apSteps, diff --git a/stepmania/src/ScoreKeeperMAX2.h b/stepmania/src/ScoreKeeperMAX2.h index 5fe1cd6591..403dce3a1a 100644 --- a/stepmania/src/ScoreKeeperMAX2.h +++ b/stepmania/src/ScoreKeeperMAX2.h @@ -34,6 +34,7 @@ public: ScoreKeeperMAX2( PlayerState* pPlayerState, PlayerStageStats* pPlayerStageStats ); + virtual ~ScoreKeeperMAX2() { } void Load( const vector& apSongs, diff --git a/stepmania/src/ScoreKeeperRave.h b/stepmania/src/ScoreKeeperRave.h index 0608a01c8b..6f85b9e7b8 100644 --- a/stepmania/src/ScoreKeeperRave.h +++ b/stepmania/src/ScoreKeeperRave.h @@ -10,8 +10,8 @@ class ScoreKeeperRave : public ScoreKeeper { public: - // Overrides ScoreKeeperRave( PlayerState* pPlayerState, PlayerStageStats* pPlayerStageStats ); + virtual ~ScoreKeeperRave() { } void OnNextSong( int iSongInCourseIndex, const Steps* pSteps, const NoteData* pNoteData ); // before a song plays (called multiple times if course) void HandleTapScore( TapNoteScore score ); void HandleTapRowScore( TapNoteScore scoreOfLastTap, int iNumTapsInRow );