Minor tweak to libstdc++ testsuite helper type
authorJonathan Wakely <jwakely@redhat.com>
Sat, 11 Nov 2017 00:10:07 +0000 (00:10 +0000)
committerJonathan Wakely <redi@gcc.gnu.org>
Sat, 11 Nov 2017 00:10:07 +0000 (00:10 +0000)
* testsuite/util/testsuite_tr1.h (ThrowMoveConsClass): Use noexcept.

From-SVN: r254644

libstdc++-v3/ChangeLog
libstdc++-v3/testsuite/util/testsuite_tr1.h

index 7f3c5302de7ac352ddddcb0e16d3d28632f121eb..db6712f3af71b0df38a5d49daff297bc0f674e38 100644 (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.
index 377bb8636ed55bfa2ffca7daf0e182d540b7120e..b1f6c6d23506b2797d78ea19256496530451e104 100644 (file)
@@ -162,7 +162,7 @@ namespace __gnu_test
 #if __cplusplus >= 201103L
   struct ThrowMoveConsClass
   {
-    ThrowMoveConsClass(ThrowMoveConsClass&&) THROW(int);
+    ThrowMoveConsClass(ThrowMoveConsClass&&) noexcept(false);
   };
 
   struct NoexceptExplicitClass