diff options
Diffstat (limited to 'src/HttpHeaderProcessor.cc')
| -rw-r--r-- | src/HttpHeaderProcessor.cc | 4 |
1 files changed, 2 insertions, 2 deletions
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<HttpHeader>& HttpHeaderProcessor::getResult() const +std::unique_ptr<HttpHeader> HttpHeaderProcessor::getResult() { - return result_; + return std::move(result_); } std::string HttpHeaderProcessor::getHeaderString() const |
