Add a constructor to http_category_impl to placate clang++-3.8 and below

This commit is contained in:
Peter Dimov
2018-09-22 19:33:04 +03:00
parent f48cc5aec6
commit be972baaa3

View File

@ -13,6 +13,12 @@ using namespace boost::system;
struct http_category_impl: public error_category
{
// clang++ 3.8 and below: initialization of const object
// requires a user-provided default constructor
BOOST_SYSTEM_CONSTEXPR http_category_impl() BOOST_NOEXCEPT
{
}
char const * name() const BOOST_NOEXCEPT
{
return "http";