From 4991a266df25935d8484527c122be3255e1ac2a3 Mon Sep 17 00:00:00 2001 From: Steve Checkoway Date: Thu, 16 Aug 2007 09:32:40 +0000 Subject: [PATCH] Remove unnecessary CACHED_REGISTER_CLASS. --- stepmania/src/Course.cpp | 2 -- stepmania/src/RageUtil_CachedObject.cpp | 2 -- stepmania/src/RageUtil_CachedObject.h | 2 -- stepmania/src/Song.cpp | 2 -- stepmania/src/Steps.cpp | 2 -- stepmania/src/Trail.cpp | 2 -- 6 files changed, 12 deletions(-) diff --git a/stepmania/src/Course.cpp b/stepmania/src/Course.cpp index 18bb333a85..75337a4279 100644 --- a/stepmania/src/Course.cpp +++ b/stepmania/src/Course.cpp @@ -21,8 +21,6 @@ static Preference MAX_SONGS_IN_EDIT_COURSE( "MaxSongsInEditCourse", -1 ); -CACHED_REGISTER_CLASS(Course); - static const char *CourseTypeNames[] = { "Nonstop", "Oni", diff --git a/stepmania/src/RageUtil_CachedObject.cpp b/stepmania/src/RageUtil_CachedObject.cpp index 8e20d48a20..e67ae85cd1 100644 --- a/stepmania/src/RageUtil_CachedObject.cpp +++ b/stepmania/src/RageUtil_CachedObject.cpp @@ -27,8 +27,6 @@ struct User } }; -CACHED_REGISTER_CLASS(Object); - void test() { Object p; diff --git a/stepmania/src/RageUtil_CachedObject.h b/stepmania/src/RageUtil_CachedObject.h index dc1db5719d..dbbf519562 100644 --- a/stepmania/src/RageUtil_CachedObject.h +++ b/stepmania/src/RageUtil_CachedObject.h @@ -170,8 +170,6 @@ private: bool m_bCacheIsSet; }; -#define CACHED_REGISTER_CLASS(T) - #endif /* diff --git a/stepmania/src/Song.cpp b/stepmania/src/Song.cpp index 271826f109..2be35ec3cf 100644 --- a/stepmania/src/Song.cpp +++ b/stepmania/src/Song.cpp @@ -49,8 +49,6 @@ static const char *InstrumentTrackNames[] = { XToString( InstrumentTrack ); StringToX( InstrumentTrack ); -CACHED_REGISTER_CLASS(Song); - Song::Song() { FOREACH_BackgroundLayer( i ) diff --git a/stepmania/src/Steps.cpp b/stepmania/src/Steps.cpp index 0a2d9464b2..e44e5c37e2 100644 --- a/stepmania/src/Steps.cpp +++ b/stepmania/src/Steps.cpp @@ -26,8 +26,6 @@ #include -CACHED_REGISTER_CLASS(Steps); - Steps::Steps() { m_bSavedToDisk = false; diff --git a/stepmania/src/Trail.cpp b/stepmania/src/Trail.cpp index 78e2fb3d44..c9df205e6b 100644 --- a/stepmania/src/Trail.cpp +++ b/stepmania/src/Trail.cpp @@ -8,8 +8,6 @@ #include "NoteDataUtil.h" #include "CommonMetrics.h" -CACHED_REGISTER_CLASS(Trail); - void TrailEntry::GetAttackArray( AttackArray &out ) const { if( !Modifiers.empty() )