From: Jonathan Wakely Date: Sat, 11 Nov 2017 00:10:07 +0000 (+0000) Subject: Minor tweak to libstdc++ testsuite helper type X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=34c71b8b3a7630860bd0a525f94b7c4c5b6761b0;p=gcc.git Minor tweak to libstdc++ testsuite helper type * testsuite/util/testsuite_tr1.h (ThrowMoveConsClass): Use noexcept. From-SVN: r254644 --- diff --git a/libstdc++-v3/ChangeLog b/libstdc++-v3/ChangeLog index 7f3c5302de7..db6712f3af7 100644 --- a/libstdc++-v3/ChangeLog +++ b/libstdc++-v3/ChangeLog @@ -1,5 +1,7 @@ 2017-11-10 Jonathan Wakely + * 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. diff --git a/libstdc++-v3/testsuite/util/testsuite_tr1.h b/libstdc++-v3/testsuite/util/testsuite_tr1.h index 377bb8636ed..b1f6c6d2350 100644 --- a/libstdc++-v3/testsuite/util/testsuite_tr1.h +++ b/libstdc++-v3/testsuite/util/testsuite_tr1.h @@ -162,7 +162,7 @@ namespace __gnu_test #if __cplusplus >= 201103L struct ThrowMoveConsClass { - ThrowMoveConsClass(ThrowMoveConsClass&&) THROW(int); + ThrowMoveConsClass(ThrowMoveConsClass&&) noexcept(false); }; struct NoexceptExplicitClass