diff options
| author | Glenn Rice <glennricster@gmail.com> | 2012-12-10 10:31:08 -0600 |
|---|---|---|
| committer | Glenn Rice <glennricster@gmail.com> | 2012-12-10 10:31:08 -0600 |
| commit | a6374f25fdf746797bfcb29fedda374384193d07 (patch) | |
| tree | e83765d67b96b079d8be0f6cb096439aedf05fa9 /Source/Core | |
| parent | c82136abdceb499bef33919a5c29cc323fbd2266 (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.cpp | 4 |
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()); |
