Fix auto_ptr<char[]> by auto_ptr<char*>

This commit is contained in:
Francis ANDRE 2018-05-09 08:18:08 +02:00
parent a9d3a17557
commit 7b918a3d94
2 changed files with 1 additions and 2 deletions

View File

@ -428,7 +428,6 @@ void HTTPSClientSessionTest::testUnknownContentLength()
assertTrue (ostr.str() == HTTPSTestServer::SMALL_BODY);
}
void HTTPSClientSessionTest::testServerAbort()
{
HTTPSTestServer srv;

View File

@ -50,7 +50,7 @@ namespace
{
WebSocket ws(request, response);
#ifndef POCO_ENABLE_CPP11
std::auto_ptr<char[]> pBuffer(new char[_bufSize]);
std::auto_ptr<char*> pBuffer(new char[_bufSize]);
#else
std::unique_ptr<char[]> pBuffer(new char[_bufSize]);
#endif // POCO_ENABLE_CPP11