From 47402c5f29cb806f73aae2ed18aa2dde21956700 Mon Sep 17 00:00:00 2001 From: Tatsuhiro Tsujikawa Date: Wed, 26 Jun 2013 22:02:41 +0900 Subject: Refactor HttpConnection and its neighbor objects --- src/HttpHeaderProcessor.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/HttpHeaderProcessor.cc') diff --git a/src/HttpHeaderProcessor.cc b/src/HttpHeaderProcessor.cc index d7c4f59b..6bf2da51 100644 --- a/src/HttpHeaderProcessor.cc +++ b/src/HttpHeaderProcessor.cc @@ -391,9 +391,9 @@ void HttpHeaderProcessor::clear() headers_.clear(); } -const std::shared_ptr& HttpHeaderProcessor::getResult() const +std::unique_ptr HttpHeaderProcessor::getResult() { - return result_; + return std::move(result_); } std::string HttpHeaderProcessor::getHeaderString() const -- cgit