From 4602901bbd0b842d5baf2ee6e89795683f91ccaa Mon Sep 17 00:00:00 2001 From: Glenn Maynard Date: Wed, 9 Jul 2003 04:47:51 +0000 Subject: [PATCH] std::sort takes a function that returns a bool, not an int --- stepmania/src/UnlockSystem.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/stepmania/src/UnlockSystem.cpp b/stepmania/src/UnlockSystem.cpp index 5c3b37e2cf..b36d0eb786 100644 --- a/stepmania/src/UnlockSystem.cpp +++ b/stepmania/src/UnlockSystem.cpp @@ -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; }