remove GetTapNoteX

This commit is contained in:
Glenn Maynard
2004-10-25 03:16:40 +00:00
parent c55dfd354f
commit f63c57b5f4
4 changed files with 16 additions and 22 deletions
+1 -7
View File
@@ -41,15 +41,9 @@ public:
/* Return the note at the given track and row. Row may be out of
* range; pretend the song goes on with TAP_EMPTYs indefinitely. */
inline const TapNote &GetTapNote(unsigned track, int row) const
{
return GetTapNoteX( track, row );
}
void ReserveRows( int row );
/* GetTapNote is called a lot. This one doesn't do any bounds checking,
* which is much faster. Be sure that 0 <= row < GetNumRows(). */
inline const TapNote &GetTapNoteX(unsigned track, int row) const
inline const TapNote &GetTapNote(unsigned track, int row) const
{
const TrackMap &mapTrack = m_TapNotes[track];
TrackMap::const_iterator iter = mapTrack.find( row );