mirror of
https://github.com/pocoproject/poco.git
synced 2025-10-24 09:12:28 +02:00
Fix template argument
This commit is contained in:
@@ -50,7 +50,7 @@ namespace
|
|||||||
{
|
{
|
||||||
WebSocket ws(request, response);
|
WebSocket ws(request, response);
|
||||||
#ifndef POCO_ENABLE_CPP11
|
#ifndef POCO_ENABLE_CPP11
|
||||||
std::auto_ptr<char*> pBuffer(new char[_bufSize]);
|
std::auto_ptr<char> pBuffer(new char[_bufSize]);
|
||||||
#else
|
#else
|
||||||
std::unique_ptr<char[]> pBuffer(new char[_bufSize]);
|
std::unique_ptr<char[]> pBuffer(new char[_bufSize]);
|
||||||
#endif // POCO_ENABLE_CPP11
|
#endif // POCO_ENABLE_CPP11
|
||||||
|
|||||||
Reference in New Issue
Block a user