diff options
Diffstat (limited to 'libstdc++-v3/testsuite/30_threads/packaged_task/members/reset.cc')
-rw-r--r-- | libstdc++-v3/testsuite/30_threads/packaged_task/members/reset.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libstdc++-v3/testsuite/30_threads/packaged_task/members/reset.cc b/libstdc++-v3/testsuite/30_threads/packaged_task/members/reset.cc index a126c3ace88..01a06d6a3c2 100644 --- a/libstdc++-v3/testsuite/30_threads/packaged_task/members/reset.cc +++ b/libstdc++-v3/testsuite/30_threads/packaged_task/members/reset.cc @@ -6,7 +6,7 @@ // { dg-require-gthreads "" } // { dg-require-atomic-builtins "" } -// Copyright (C) 2009 Free Software Foundation, Inc. +// Copyright (C) 2009. 2010, 2011 Free Software Foundation, Inc. // // This file is part of the GNU ISO C++ Library. This library is free // software; you can redistribute it and/or modify it under the @@ -39,7 +39,7 @@ void test01() future<int> f1 = p1.get_future(); p1.reset(); - VERIFY( static_cast<bool>(p1) ); + VERIFY( p1.valid() ); future<int> f2 = p1.get_future(); |