From 34c71b8b3a7630860bd0a525f94b7c4c5b6761b0 Mon Sep 17 00:00:00 2001 From: Jonathan Wakely Date: Sat, 11 Nov 2017 00:10:07 +0000 Subject: [PATCH] Minor tweak to libstdc++ testsuite helper type * testsuite/util/testsuite_tr1.h (ThrowMoveConsClass): Use noexcept. From-SVN: r254644 --- libstdc++-v3/ChangeLog | 2 ++ libstdc++-v3/testsuite/util/testsuite_tr1.h | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) 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 -- 2.30.2