Fix template argument

This commit is contained in:
Francis ANDRE
2018-05-09 09:32:54 +02:00
parent 3c76ed3c57
commit d52208743b

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