From a6374f25fdf746797bfcb29fedda374384193d07 Mon Sep 17 00:00:00 2001 From: Glenn Rice Date: Mon, 10 Dec 2012 10:31:08 -0600 Subject: [PATCH] Fix OSX build once again. Apparently OSX needs to get with the times. --- Source/Core/DolphinWX/Src/GameListCtrl.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Source/Core/DolphinWX/Src/GameListCtrl.cpp b/Source/Core/DolphinWX/Src/GameListCtrl.cpp index 5312c4fabd..eedbf4e8dc 100644 --- a/Source/Core/DolphinWX/Src/GameListCtrl.cpp +++ b/Source/Core/DolphinWX/Src/GameListCtrl.cpp @@ -652,7 +652,11 @@ void CGameListCtrl::ScanForISOs() for (std::vector::const_iterator iter = drives.begin(); iter != drives.end(); ++iter) { + #ifdef __APPLE__ + std::auto_ptr gli(new GameListItem(*iter)); + #else std::unique_ptr gli(new GameListItem(*iter)); + #endif if (gli->IsValid()) m_ISOFiles.push_back(gli.release());