]> git.saurik.com Git - wxWidgets.git/blobdiff - tests/archive/archivetest.cpp
new graphics context implementation
[wxWidgets.git] / tests / archive / archivetest.cpp
index dc75506136916635f41091192d40c87d2a11fb06..941b07d0023cdea7aebd8c3def4f0592a62f328e 100644 (file)
@@ -1248,7 +1248,8 @@ void CorruptionTestCase::ExtractArchive(wxInputStream& in)
         while (arc->IsOk())
             arc->Read(buf, sizeof(buf));
 
-        entry = auto_ptr<wxArchiveEntry>(arc->GetNextEntry());
+        auto_ptr<wxArchiveEntry> next(arc->GetNextEntry());
+        entry = next;
     }
 }