From a7faf0369465259dd2f9d9a4942f415468b199c9 Mon Sep 17 00:00:00 2001 From: Vinnie Falco Date: Fri, 29 Mar 2019 19:54:45 -0700 Subject: [PATCH] Fix http::message constructor constraint --- CHANGELOG.md | 3 ++- include/boost/beast/http/message.hpp | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 73075fc7..3f3ded06 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,7 +1,8 @@ Version 242: * test::stream has deprecated lowest_layer for ssl -* MSVC use ::fopen_s +* MSVC uses ::fopen_s +* Fix http::message constructor constraint -------------------------------------------------------------------------------- diff --git a/include/boost/beast/http/message.hpp b/include/boost/beast/http/message.hpp index 6ed9d8a1..cf205924 100644 --- a/include/boost/beast/http/message.hpp +++ b/include/boost/beast/http/message.hpp @@ -223,7 +223,7 @@ public: ! std::is_convertible::type, verb>::value && ! std::is_convertible::type, header>::value + std::decay::type, status>::value >::type> explicit header(Arg1&& arg1, ArgN&&... argn);