From c42f46eba4361e4ecdc7d78bfa4293c278ab0eb0 Mon Sep 17 00:00:00 2001 From: Gregory Hainaut Date: Mon, 19 Oct 2015 13:04:47 +0200 Subject: [PATCH] pcsx2: auto_ptr is deprecated in favor of unique_ptr --- pcsx2/Patch.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)