mirror of
https://github.com/pocoproject/poco.git
synced 2025-10-17 03:03:23 +02:00
Fix auto_ptr<char[]> by auto_ptr<char*>
This commit is contained in:
@@ -428,7 +428,6 @@ void HTTPSClientSessionTest::testUnknownContentLength()
|
||||
assertTrue (ostr.str() == HTTPSTestServer::SMALL_BODY);
|
||||
}
|
||||
|
||||
|
||||
void HTTPSClientSessionTest::testServerAbort()
|
||||
{
|
||||
HTTPSTestServer srv;
|
||||
|
@@ -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
|
||||
|
Reference in New Issue
Block a user