revert: testsuite_error.h: Add empty default constructor to __gnu_test::test_category and...
2011-09-25 Paolo Carlini <paolo.carlini@oracle.com> Revert (no longer necessary post r179130): 2010-04-27 Fabien Chêne <fabien.chene@gmail.com> * testsuite/util/testsuite_error.h: Add empty default constructor to __gnu_test::test_category and __gnu_test::test_derived_category. * src/future.cc: Add empty default constructor to future_error_category. * src/system_error.cc: Add default ctor to generic_error_category and system_error_category. From-SVN: r179172
This commit is contained in:
parent
ad1d36bafd
commit
a0ce4616fb
@ -1,3 +1,17 @@
|
||||
2011-09-25 Paolo Carlini <paolo.carlini@oracle.com>
|
||||
|
||||
Revert (no longer necessary post r179130):
|
||||
|
||||
2010-04-27 Fabien Chêne <fabien.chene@gmail.com>
|
||||
|
||||
* testsuite/util/testsuite_error.h: Add empty default constructor
|
||||
to __gnu_test::test_category and
|
||||
__gnu_test::test_derived_category.
|
||||
* src/future.cc: Add empty default constructor to
|
||||
future_error_category.
|
||||
* src/system_error.cc: Add default ctor to generic_error_category
|
||||
and system_error_category.
|
||||
|
||||
2011-09-24 John Salmon <john.salmon@deshaw.com>
|
||||
|
||||
PR libstdc++/50510
|
||||
|
@ -28,8 +28,6 @@ namespace
|
||||
{
|
||||
struct future_error_category : public std::error_category
|
||||
{
|
||||
future_error_category() noexcept {}
|
||||
|
||||
virtual const char*
|
||||
name() const noexcept
|
||||
{ return "future"; }
|
||||
|
@ -34,8 +34,6 @@ namespace
|
||||
|
||||
struct generic_error_category : public std::error_category
|
||||
{
|
||||
generic_error_category() {}
|
||||
|
||||
virtual const char*
|
||||
name() const noexcept
|
||||
{ return "generic"; }
|
||||
@ -51,8 +49,6 @@ namespace
|
||||
|
||||
struct system_error_category : public std::error_category
|
||||
{
|
||||
system_error_category() {}
|
||||
|
||||
virtual const char*
|
||||
name() const noexcept
|
||||
{ return "system"; }
|
||||
|
@ -29,8 +29,6 @@ namespace __gnu_test
|
||||
{
|
||||
struct test_category : public std::error_category
|
||||
{
|
||||
test_category() {}
|
||||
|
||||
virtual const char*
|
||||
name() const noexcept
|
||||
{
|
||||
@ -45,8 +43,6 @@ namespace __gnu_test
|
||||
|
||||
struct test_derived_category : public test_category
|
||||
{
|
||||
test_derived_category() {}
|
||||
|
||||
virtual const char*
|
||||
name() const noexcept
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user