Replace remaining std::auto_ptr<> with wxScopedPtr in the tests
This should have been done in b8c9cd3528
to avoid all warnings about std::auto_ptr<> being deprecated when using
g++ 6 or later which compiles in C++14 mode by default.
This commit is contained in:
@@ -22,7 +22,6 @@
|
||||
#include "wx/zipstrm.h"
|
||||
|
||||
using std::string;
|
||||
using std::auto_ptr;
|
||||
|
||||
|
||||
///////////////////////////////////////////////////////////////////////////////
|
||||
@@ -188,7 +187,7 @@ void ZipPipeTestCase::runTest()
|
||||
TestInputStream in(out, m_id % ((m_options & PipeIn) ? 4 : 3));
|
||||
wxZipInputStream zip(in);
|
||||
|
||||
auto_ptr<wxZipEntry> entry(zip.GetNextEntry());
|
||||
wxScopedPtr<wxZipEntry> entry(zip.GetNextEntry());
|
||||
CPPUNIT_ASSERT(entry.get() != NULL);
|
||||
|
||||
if ((m_options & PipeIn) == 0)
|
||||
|
Reference in New Issue
Block a user