mirror of
https://github.com/PCSX2/pcsx2.git
synced 2026-11-13 17:50:13 +01:00
Merge pull request #902 from PCSX2/convert-auto_ptr-unique_ptr
pcsx2: auto_ptr is deprecated in favor of auto_ptr
This commit is contained in:
commit
5f78644bb6
1 file changed
+1
-1
+1
-1
@@ -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)
|
||||
|
||||
Reference in new issue
Block a user