std::sort takes a function that returns a bool, not an int

This commit is contained in:
Glenn Maynard
2003-07-09 04:47:51 +00:00
parent f9b12e9e8e
commit 4602901bbd
+1 -1
View File
@@ -76,7 +76,7 @@ SongEntry::SongEntry()
}
static int CompareSongEntries(const SongEntry &se1, const SongEntry &se2)
static bool CompareSongEntries(const SongEntry &se1, const SongEntry &se2)
{
return se1.m_sSongName < se2.m_sSongName;
}