Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Fix OSX build once again. Apparently OSX needs to get with the times.
  • Loading branch information
glennricster committed Dec 10, 2012
1 parent c82136a commit a6374f2
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions Source/Core/DolphinWX/Src/GameListCtrl.cpp
Expand Up @@ -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());
Expand Down

0 comments on commit a6374f2

Please sign in to comment.