public inbox for libstdc++-cvs@sourceware.org
help / color / mirror / Atom feed
* [gcc r11-5173] libstdc++: Add missing header to some tests
@ 2020-11-19 16:17 Jonathan Wakely
0 siblings, 0 replies; only message in thread
From: Jonathan Wakely @ 2020-11-19 16:17 UTC (permalink / raw)
To: gcc-cvs, libstdc++-cvs
https://gcc.gnu.org/g:5e6a43158d2e5b26616716c50badedd3400c6bea
commit r11-5173-g5e6a43158d2e5b26616716c50badedd3400c6bea
Author: Jonathan Wakely <jwakely@redhat.com>
Date: Thu Nov 19 16:17:33 2020 +0000
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.
Diff:
---
libstdc++-v3/testsuite/30_threads/async/async.cc | 1 +
libstdc++-v3/testsuite/30_threads/future/members/93456.cc | 1 +
2 files changed, 2 insertions(+)
diff --git a/libstdc++-v3/testsuite/30_threads/async/async.cc b/libstdc++-v3/testsuite/30_threads/async/async.cc
index 1c779bfbcad..b06c2553c95 100644
--- a/libstdc++-v3/testsuite/30_threads/async/async.cc
+++ b/libstdc++-v3/testsuite/30_threads/async/async.cc
@@ -22,6 +22,7 @@
#include <future>
+#include <thread>
#include <testsuite_hooks.h>
using namespace std;
diff --git a/libstdc++-v3/testsuite/30_threads/future/members/93456.cc b/libstdc++-v3/testsuite/30_threads/future/members/93456.cc
index 8d6a5148ce3..9d1cbcef001 100644
--- a/libstdc++-v3/testsuite/30_threads/future/members/93456.cc
+++ b/libstdc++-v3/testsuite/30_threads/future/members/93456.cc
@@ -22,6 +22,7 @@
#include <future>
+#include <thread>
#include <chrono>
#include <climits>
#include <testsuite_hooks.h>
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2020-11-19 16:17 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-11-19 16:17 [gcc r11-5173] libstdc++: Add missing header to some tests Jonathan Wakely
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).