From 7eed701682526915e1deb4eab43efe77d9c57192 Mon Sep 17 00:00:00 2001 From: Vinnie Falco Date: Wed, 4 May 2016 08:45:42 -0400 Subject: [PATCH] Don't perform an extra clear --- include/beast/http/impl/basic_headers.ipp | 2 -- 1 file changed, 2 deletions(-) diff --git a/include/beast/http/impl/basic_headers.ipp b/include/beast/http/impl/basic_headers.ipp index f1eb2f0b8..31f9913a0 100644 --- a/include/beast/http/impl/basic_headers.ipp +++ b/include/beast/http/impl/basic_headers.ipp @@ -136,8 +136,6 @@ basic_headers(basic_headers&& other) , detail::basic_headers_base( std::move(other.set_), std::move(other.list_)) { - other.list_.clear(); - other.set_.clear(); } template