Simplify.

This commit is contained in:
Steve Checkoway
2006-08-23 22:05:35 +00:00
parent ecc45eb6e7
commit 5cfab46c84
+1 -5
View File
@@ -178,11 +178,7 @@ void NoteData::CopyRange( const NoteData& from, int rowFromBegin, int rowFromEnd
void NoteData::CopyAll( const NoteData& from ) void NoteData::CopyAll( const NoteData& from )
{ {
SetNumTracks( from.GetNumTracks() ); *this = from;
ClearAll();
for( int c=0; c<GetNumTracks(); c++ )
m_TapNotes[c] = from.m_TapNotes[c];
} }
bool NoteData::IsRowEmpty( int row ) const bool NoteData::IsRowEmpty( int row ) const