Minor tweak to libstdc++ testsuite helper type

* testsuite/util/testsuite_tr1.h (ThrowMoveConsClass): Use noexcept.

From-SVN: r254644
This commit is contained in:
Jonathan Wakely 2017-11-11 00:10:07 +00:00 committed by Jonathan Wakely
parent 4f58c0d118
commit 34c71b8b3a
2 changed files with 3 additions and 1 deletions

View File

@ -1,5 +1,7 @@
2017-11-10 Jonathan Wakely <jwakely@redhat.com>
* testsuite/util/testsuite_tr1.h (ThrowMoveConsClass): Use noexcept.
PR libstdc++/82917
* include/std/fstream (basic_ifstream::open, basic_ofstream::open)
(basic_fstream::open): Fix missing return.

View File

@ -162,7 +162,7 @@ namespace __gnu_test
#if __cplusplus >= 201103L
struct ThrowMoveConsClass
{
ThrowMoveConsClass(ThrowMoveConsClass&&) THROW(int);
ThrowMoveConsClass(ThrowMoveConsClass&&) noexcept(false);
};
struct NoexceptExplicitClass