mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-25 07:09:48 -06:00
Fix OSX build once again. Apparently OSX needs to get with the times.
This commit is contained in:
@ -652,7 +652,11 @@ void CGameListCtrl::ScanForISOs()
|
|||||||
|
|
||||||
for (std::vector<std::string>::const_iterator iter = drives.begin(); iter != drives.end(); ++iter)
|
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));
|
std::unique_ptr<GameListItem> gli(new GameListItem(*iter));
|
||||||
|
#endif
|
||||||
|
|
||||||
if (gli->IsValid())
|
if (gli->IsValid())
|
||||||
m_ISOFiles.push_back(gli.release());
|
m_ISOFiles.push_back(gli.release());
|
||||||
|
Reference in New Issue
Block a user