From 96e1e53cddb00d1adf7455584dca3f6e091a58d0 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 f1eb2f0b..31f9913a 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