mirror of
https://github.com/pocoproject/poco.git
synced 2024-12-12 18:20:26 +01:00
Fix auto_ptr<char[]> by auto_ptr<char*>
This commit is contained in:
parent
a9d3a17557
commit
7b918a3d94
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user