mirror of
git://gcc.gnu.org/git/gcc.git
synced 2025-04-05 07:40:28 +08:00
libstdc++: Add missing header to some tests
These tests use std::this_thread::sleep_for without including <thread>. libstdc++-v3/ChangeLog: * testsuite/30_threads/async/async.cc: Include <thread>. * testsuite/30_threads/future/members/93456.cc: Likewise.
This commit is contained in:
parent
5c5a67e61b
commit
5e6a43158d
@ -22,6 +22,7 @@
|
||||
|
||||
|
||||
#include <future>
|
||||
#include <thread>
|
||||
#include <testsuite_hooks.h>
|
||||
|
||||
using namespace std;
|
||||
|
@ -22,6 +22,7 @@
|
||||
|
||||
|
||||
#include <future>
|
||||
#include <thread>
|
||||
#include <chrono>
|
||||
#include <climits>
|
||||
#include <testsuite_hooks.h>
|
||||
|
Loading…
x
Reference in New Issue
Block a user