summaryrefslogtreecommitdiff
path: root/src/HttpServerCommand.cc
diff options
context:
space:
mode:
authorTatsuhiro Tsujikawa <tatsuhiro.t@gmail.com>2014-09-13 18:37:57 +0900
committerTatsuhiro Tsujikawa <tatsuhiro.t@gmail.com>2014-09-13 18:37:57 +0900
commit9b84727324168f4d781ab5c69f627603a219eb92 (patch)
treed9f57c1b32c72266f82b9a9e69c1a9087a03333b /src/HttpServerCommand.cc
parent596e5c616218c9681adf4eb45077608510e2876e (diff)
Use std::make_shared and make_unique where possible, part 2
Diffstat (limited to 'src/HttpServerCommand.cc')
-rw-r--r--src/HttpServerCommand.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/HttpServerCommand.cc b/src/HttpServerCommand.cc
index 4a4d6d61..59159a82 100644
--- a/src/HttpServerCommand.cc
+++ b/src/HttpServerCommand.cc
@@ -67,7 +67,7 @@ HttpServerCommand::HttpServerCommand
: Command(cuid),
e_(e),
socket_(socket),
- httpServer_(new HttpServer(socket)),
+ httpServer_(std::make_shared<HttpServer>(socket)),
writeCheck_(false)
{
setStatus(Command::STATUS_ONESHOT_REALTIME);