summaryrefslogtreecommitdiff
path: root/Source/Core
diff options
context:
space:
mode:
authorGlenn Rice <glennricster@gmail.com>2012-12-10 10:31:08 -0600
committerGlenn Rice <glennricster@gmail.com>2012-12-10 10:31:08 -0600
commita6374f25fdf746797bfcb29fedda374384193d07 (patch)
treee83765d67b96b079d8be0f6cb096439aedf05fa9 /Source/Core
parentc82136abdceb499bef33919a5c29cc323fbd2266 (diff)
Fix OSX build once again. Apparently OSX needs to get with the times.
Diffstat (limited to 'Source/Core')
-rw-r--r--Source/Core/DolphinWX/Src/GameListCtrl.cpp4
1 files changed, 4 insertions, 0 deletions
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<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());