mirror of
https://github.com/libretro/pcsx2.git
synced 2025-03-04 15:37:36 +00:00
pcsx2: auto_ptr is deprecated in favor of unique_ptr
This commit is contained in:
parent
395b4c25f3
commit
c42f46eba4
@ -222,7 +222,7 @@ int LoadCheatsFromZip(wxString gameCRC, const wxString& cheatsArchiveFilename) {
|
||||
|
||||
int before = cheatnumber;
|
||||
|
||||
std::auto_ptr<wxZipEntry> entry;
|
||||
std::unique_ptr<wxZipEntry> entry;
|
||||
wxFFileInputStream in(cheatsArchiveFilename);
|
||||
wxZipInputStream zip(in);
|
||||
while (entry.reset(zip.GetNextEntry()), entry.get() != NULL)
|
||||
|
Loading…
x
Reference in New Issue
Block a user