mirror of
https://github.com/boostorg/system.git
synced 2025-07-29 12:07:13 +02:00
Fix a standards-conformance problem where we default-initialize a const object of non-POD class type without a user-declared default constructor
[SVN r61672]
This commit is contained in:
@ -108,6 +108,8 @@ namespace boost
|
||||
class lib3_error_category_imp : public boost::system::error_category
|
||||
{
|
||||
public:
|
||||
lib3_error_category_imp() : boost::system::error_category() { }
|
||||
|
||||
const char * name() const
|
||||
{
|
||||
return "lib3";
|
||||
@ -168,6 +170,8 @@ namespace lib4
|
||||
class lib4_error_category_imp : public boost::system::error_category
|
||||
{
|
||||
public:
|
||||
lib4_error_category_imp() : boost::system::error_category() { }
|
||||
|
||||
const char * name() const
|
||||
{
|
||||
return "lib4";
|
||||
|
Reference in New Issue
Block a user