Explicitly call ToString(). libc++ requires this.

This commit is contained in:
Jason Felds
2013-04-29 23:37:45 -04:00
parent c07d4cf78f
commit 48aaba8560
+1 -1
View File
@@ -207,7 +207,7 @@ bool ProfileManager::LoadLocalProfileFromMachine( PlayerNumber pn )
void ProfileManager::GetMemoryCardProfileDirectoriesToTry( vector<RString> &asDirsToTry )
{
/* Try to load the preferred profile. */
asDirsToTry.push_back( PREFSMAN->m_sMemoryCardProfileSubdir );
asDirsToTry.push_back( PREFSMAN->m_sMemoryCardProfileSubdir.ToString() );
/* If that failed, try loading from all fallback directories. */
split( g_sMemoryCardProfileImportSubdirs, ";", asDirsToTry, true );