const, less includes

This commit is contained in:
Glenn Maynard
2002-08-23 00:49:09 +00:00
parent 46a56d0ce4
commit acdb4d6cd1
2 changed files with 3 additions and 7 deletions
-3
View File
@@ -10,9 +10,6 @@
*/ */
#include "DifficultyIcon.h" #include "DifficultyIcon.h"
#include "RageUtil.h"
#include "GameConstantsAndTypes.h"
#include "PrefsManager.h"
+3 -4
View File
@@ -12,9 +12,8 @@
#include "Sprite.h" #include "Sprite.h"
#include "Song.h" #include "Notes.h"
#include "BitmapText.h" #include "ThemeManager.h"
#include "PrefsManager.h"
class DifficultyIcon : public Sprite class DifficultyIcon : public Sprite
@@ -28,7 +27,7 @@ public:
SetFromNotes( NULL ); SetFromNotes( NULL );
}; };
void SetFromNotes( Notes* pNotes ) void SetFromNotes( const Notes* pNotes )
{ {
if( pNotes != NULL ) if( pNotes != NULL )
{ {