Replace strcmp with c++ equivalent when comparing std::strings.

This commit is contained in:
Tobias Loose
2013-11-18 09:52:20 +01:00
parent 89206b3a6b
commit f68568cc1e
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -134,7 +134,7 @@ void GameState::renderDeckMenu(DeckMenu * _menu, const vector<DeckMetaData *>& d
// deck sorting routines
bool sortByName(DeckMetaData * d1, DeckMetaData * d2)
{
return strcmp(d1->getName().c_str(), d2->getName().c_str()) < 0;
return d1->getName() < d2->getName();
}