Don't pessimize-move

This commit is contained in:
Vinnie Falco
2019-05-06 10:54:47 -07:00
committed by Damian Jarek
parent 85adb6ca2f
commit 363d5c36d3
2 changed files with 2 additions and 1 deletions

View File

@ -9,6 +9,7 @@ Version 256:
* `allocator_traits::construct` is used for user-defined types
* Add 1-element specialization for `buffers_cat`
* Fix `buffers_cat` iterator tests
* Don't pessimize-move
--------------------------------------------------------------------------------

View File

@ -489,7 +489,7 @@ private:
}
// Send the response
handle_request(*doc_root_, std::move(parser_->release()), queue_);
handle_request(*doc_root_, parser_->release(), queue_);
// If we aren't at the queue limit, try to pipeline another request
if(! queue_.is_full())