const fix

This commit is contained in:
Glenn Maynard
2003-09-02 20:39:29 +00:00
parent ae7f4b3bcd
commit 7223d446cb
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -1583,7 +1583,7 @@ void Song::AddNotes( Steps* pNotes )
m_apNotes.push_back( pNotes );
}
void Song::RemoveNotes( Steps* pNotes )
void Song::RemoveNotes( const Steps* pNotes )
{
// Avoid any stale Note::parent pointers by removing all AutoGen'd Steps,
// then adding them again.
+1 -1
View File
@@ -258,7 +258,7 @@ public:
int GetNumNotesWithGrade( Grade g ) const;
void AddNotes( Steps* pNotes ); // we are responsible for deleting the memory pointed to by pNotes!
void RemoveNotes( Steps* pNotes );
void RemoveNotes( const Steps* pNotes );
};
CString MakeSortString( CString s );