public inbox for gcc-cvs@sourceware.org
help / color / mirror / Atom feed
* [gcc r9-10057] libstdc++: Add missing header to test
@ 2022-05-09 16:40 Jonathan Wakely
0 siblings, 0 replies; only message in thread
From: Jonathan Wakely @ 2022-05-09 16:40 UTC (permalink / raw)
To: gcc-cvs, libstdc++-cvs
https://gcc.gnu.org/g:a5ae767c18ba7d78d11248604c5468e47b80f09b
commit r9-10057-ga5ae767c18ba7d78d11248604c5468e47b80f09b
Author: Jonathan Wakely <jwakely@redhat.com>
Date: Fri Oct 1 12:55:53 2021 +0100
libstdc++: Add missing header to test
We need to include <iterator> (or one of the containers) to get a
definition for std::begin.
libstdc++-v3/ChangeLog:
* testsuite/25_algorithms/is_permutation/2.cc: Include <iterator>.
(cherry picked from commit 94311bf34704ebecf745043fe2df03df201052fe)
Diff:
---
libstdc++-v3/testsuite/25_algorithms/is_permutation/2.cc | 1 +
1 file changed, 1 insertion(+)
diff --git a/libstdc++-v3/testsuite/25_algorithms/is_permutation/2.cc b/libstdc++-v3/testsuite/25_algorithms/is_permutation/2.cc
index 51058fee606..57f94f87524 100644
--- a/libstdc++-v3/testsuite/25_algorithms/is_permutation/2.cc
+++ b/libstdc++-v3/testsuite/25_algorithms/is_permutation/2.cc
@@ -20,6 +20,7 @@
// 25.2.12 [alg.is_permutation] Is permutation
#include <algorithm>
+#include <iterator>
#include <functional>
#include <testsuite_hooks.h>
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2022-05-09 16:40 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-05-09 16:40 [gcc r9-10057] libstdc++: Add missing header to test 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).