mirror of
https://github.com/Xahau/xahaud.git
synced 2025-12-06 17:27:52 +00:00
Fix beast::http::headers move members
This commit is contained in:
committed by
Nik Bougalis
parent
146d706343
commit
b5384cc964
@@ -103,16 +103,9 @@ public:
|
||||
|
||||
headers() = default;
|
||||
|
||||
#if defined(_MSC_VER) && _MSC_VER <= 1800
|
||||
headers (headers&& other);
|
||||
headers& operator= (headers&& other);
|
||||
|
||||
#else
|
||||
headers (headers&& other) = default;
|
||||
headers& operator= (headers&& other) = default;
|
||||
|
||||
#endif
|
||||
|
||||
headers (headers const& other);
|
||||
headers& operator= (headers const& other);
|
||||
|
||||
@@ -193,7 +186,6 @@ headers::less::operator() (
|
||||
|
||||
//------------------------------------------------------------------------------
|
||||
|
||||
#if defined(_MSC_VER) && _MSC_VER <= 1800
|
||||
inline
|
||||
headers::headers (headers&& other)
|
||||
: list_ (std::move (other.list_))
|
||||
@@ -213,7 +205,6 @@ headers::operator= (headers&& other)
|
||||
other.set_.clear();
|
||||
return *this;
|
||||
}
|
||||
#endif
|
||||
|
||||
inline
|
||||
headers::headers (headers const& other)
|
||||
|
||||
Reference in New Issue
Block a user