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:
Paolo Carlini 2011-09-25 20:58:46 +00:00 committed by Paolo Carlini
parent ad1d36bafd
commit a0ce4616fb
4 changed files with 14 additions and 10 deletions

View File

@ -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

View File

@ -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"; }

View File

@ -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"; }

View File

@ -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
{