X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/98de4ac1c5ffe44700d6a43e8fca0a496d6ecada..4aab34290a0c966bffc9e529dae5666b5db77c96:/tests/archive/archivetest.cpp?ds=sidebyside diff --git a/tests/archive/archivetest.cpp b/tests/archive/archivetest.cpp index dc75506136..c92cb7390d 100644 --- a/tests/archive/archivetest.cpp +++ b/tests/archive/archivetest.cpp @@ -1248,7 +1248,8 @@ void CorruptionTestCase::ExtractArchive(wxInputStream& in) while (arc->IsOk()) arc->Read(buf, sizeof(buf)); - entry = auto_ptr(arc->GetNextEntry()); + auto_ptr next(arc->GetNextEntry()); + entry = next; } } @@ -1406,4 +1407,9 @@ template class ArchiveTestCase; template class ArchiveTestCase; #endif +#if wxUSE_TARSTREAM +#include "wx/tarstrm.h" +template class ArchiveTestCase; +#endif + #endif // wxUSE_STREAMS && wxUSE_ARCHIVE_STREAMS