Fix OSX build once again. Apparently OSX needs to get with the times.

This commit is contained in:
Glenn Rice 2012-12-10 10:31:08 -06:00
parent c82136abdc
commit a6374f25fd
1 changed files with 4 additions and 0 deletions

View File

@ -652,7 +652,11 @@ void CGameListCtrl::ScanForISOs()
for (std::vector<std::string>::const_iterator iter = drives.begin(); iter != drives.end(); ++iter)
{
#ifdef __APPLE__
std::auto_ptr<GameListItem> gli(new GameListItem(*iter));
#else
std::unique_ptr<GameListItem> gli(new GameListItem(*iter));
#endif
if (gli->IsValid())
m_ISOFiles.push_back(gli.release());