mirror of
git://gcc.gnu.org/git/gcc.git
synced 2025-04-16 23:31:05 +08:00
Minor tweak to libstdc++ testsuite helper type
* testsuite/util/testsuite_tr1.h (ThrowMoveConsClass): Use noexcept. From-SVN: r254644
This commit is contained in:
parent
4f58c0d118
commit
34c71b8b3a
@ -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.
|
||||
|
@ -162,7 +162,7 @@ namespace __gnu_test
|
||||
#if __cplusplus >= 201103L
|
||||
struct ThrowMoveConsClass
|
||||
{
|
||||
ThrowMoveConsClass(ThrowMoveConsClass&&) THROW(int);
|
||||
ThrowMoveConsClass(ThrowMoveConsClass&&) noexcept(false);
|
||||
};
|
||||
|
||||
struct NoexceptExplicitClass
|
||||
|
Loading…
x
Reference in New Issue
Block a user