mirror of
https://github.com/boostorg/system.git
synced 2025-07-31 13:07:13 +02:00
Add a constructor to http_category_impl to placate clang++-3.8 and below
This commit is contained in:
@ -13,6 +13,12 @@ using namespace boost::system;
|
|||||||
|
|
||||||
struct http_category_impl: public error_category
|
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
|
char const * name() const BOOST_NOEXCEPT
|
||||||
{
|
{
|
||||||
return "http";
|
return "http";
|
||||||
|
Reference in New Issue
Block a user