mirror of
https://github.com/boostorg/beast.git
synced 2025-07-30 12:57:31 +02:00
Fix http::message constructor constraint
This commit is contained in:
committed by
Vinnie Falco
parent
4f464ccaeb
commit
058294e908
@ -2,6 +2,7 @@ Version 243:
|
|||||||
|
|
||||||
* Fix some typos
|
* Fix some typos
|
||||||
* Tidy up file_stdio for VS2015
|
* Tidy up file_stdio for VS2015
|
||||||
|
* Fix http::message constructor constraint
|
||||||
|
|
||||||
--------------------------------------------------------------------------------
|
--------------------------------------------------------------------------------
|
||||||
|
|
||||||
|
@ -299,9 +299,11 @@ public:
|
|||||||
template<class Arg1, class... ArgN,
|
template<class Arg1, class... ArgN,
|
||||||
class = typename std::enable_if<
|
class = typename std::enable_if<
|
||||||
! std::is_convertible<typename
|
! std::is_convertible<typename
|
||||||
std::decay<Arg1>::type, status>::value &&
|
std::decay<Arg1>::type, header>::value &&
|
||||||
! std::is_convertible<typename
|
! std::is_convertible<typename
|
||||||
std::decay<Arg1>::type, header>::value
|
std::decay<Arg1>::type, verb>::value &&
|
||||||
|
! std::is_convertible<typename
|
||||||
|
std::decay<Arg1>::type, status>::value
|
||||||
>::type>
|
>::type>
|
||||||
explicit
|
explicit
|
||||||
header(Arg1&& arg1, ArgN&&... argn);
|
header(Arg1&& arg1, ArgN&&... argn);
|
||||||
|
Reference in New Issue
Block a user