diff options
Diffstat (limited to 'src/HttpServerResponseCommand.cc')
| -rw-r--r-- | src/HttpServerResponseCommand.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/HttpServerResponseCommand.cc b/src/HttpServerResponseCommand.cc index a2aa1555..727166e3 100644 --- a/src/HttpServerResponseCommand.cc +++ b/src/HttpServerResponseCommand.cc @@ -63,8 +63,8 @@ void HttpServerResponseCommand::afterSend A2_LOG_INFO(fmt("CUID#%" PRId64 " - Persist connection.", getCuid())); e->addCommand - (new HttpServerCommand(getCuid(), httpServer, e, - httpServer->getSocket())); + (make_unique<HttpServerCommand>(getCuid(), httpServer, e, + httpServer->getSocket())); } } |
