Fix header::reason

This commit is contained in:
Vinnie Falco
2017-05-27 10:23:17 -07:00
parent f62ac819f5
commit c6cddc83c4
2 changed files with 3 additions and 1 deletions

View File

@ -3,6 +3,8 @@ Version 45
* Workaround for boost::asio::basic_streambuf type check
* Fix message doc image
* Better test::enable_yield_to
* Add test::pipe
* Fix header::reason
--------------------------------------------------------------------------------

View File

@ -246,7 +246,7 @@ struct header<false, Fields>
*/
auto
reason() const ->
decltype(std::declval<Fields>().method()) const
decltype(std::declval<Fields>().reason()) const
{
return fields.reason();
}