mirror of
https://github.com/boostorg/system.git
synced 2025-07-30 20:47:14 +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
|
class lib3_error_category_imp : public boost::system::error_category
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
|
lib3_error_category_imp() : boost::system::error_category() { }
|
||||||
|
|
||||||
const char * name() const
|
const char * name() const
|
||||||
{
|
{
|
||||||
return "lib3";
|
return "lib3";
|
||||||
@ -168,6 +170,8 @@ namespace lib4
|
|||||||
class lib4_error_category_imp : public boost::system::error_category
|
class lib4_error_category_imp : public boost::system::error_category
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
|
lib4_error_category_imp() : boost::system::error_category() { }
|
||||||
|
|
||||||
const char * name() const
|
const char * name() const
|
||||||
{
|
{
|
||||||
return "lib4";
|
return "lib4";
|
||||||
|
Reference in New Issue
Block a user