mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-08-06 08:09:19 +00:00
Fix OSX build once again. Apparently OSX needs to get with the times.
This commit is contained in:
parent
c82136abdc
commit
a6374f25fd
1 changed files with 4 additions and 0 deletions
|
@ -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());
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue