diff --git a/pcsx2/Patch.cpp b/pcsx2/Patch.cpp index 281774f7c2..c161cd6879 100644 --- a/pcsx2/Patch.cpp +++ b/pcsx2/Patch.cpp @@ -222,7 +222,7 @@ int LoadCheatsFromZip(wxString gameCRC, const wxString& cheatsArchiveFilename) { int before = cheatnumber; - std::auto_ptr entry; + std::unique_ptr entry; wxFFileInputStream in(cheatsArchiveFilename); wxZipInputStream zip(in); while (entry.reset(zip.GetNextEntry()), entry.get() != NULL)