From 2807258279d8ddbef01ca1c20a87c14aa084620c Mon Sep 17 00:00:00 2001 From: Tatsuhiro Tsujikawa Date: Sat, 13 Sep 2014 00:07:21 +0900 Subject: Use std::make_shared and make_unique where possible, part 1 --- src/HttpSkipResponseCommand.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/HttpSkipResponseCommand.cc') diff --git a/src/HttpSkipResponseCommand.cc b/src/HttpSkipResponseCommand.cc index dde369bd..ef5d3d76 100644 --- a/src/HttpSkipResponseCommand.cc +++ b/src/HttpSkipResponseCommand.cc @@ -79,7 +79,7 @@ HttpSkipResponseCommand::HttpSkipResponseCommand receivedBytes_(0), httpConnection_(httpConnection), httpResponse_(std::move(httpResponse)), - streamFilter_(new NullSinkStreamFilter()) + streamFilter_(make_unique()) { checkSocketRecvBuffer(); } -- cgit