diff options
author | Jonathan Wakely <jwakely@redhat.com> | 2021-10-01 12:55:53 +0100 |
---|---|---|
committer | Jonathan Wakely <jwakely@redhat.com> | 2022-05-09 17:37:21 +0100 |
commit | a5ae767c18ba7d78d11248604c5468e47b80f09b (patch) | |
tree | c4f855460cf6afac1c792a7c281259dfa01e77e4 /libstdc++-v3 | |
parent | 79b7b824346d3cb3101d1896f81ed16392b7471c (diff) | |
download | gcc-a5ae767c18ba7d78d11248604c5468e47b80f09b.tar.gz |
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)
Diffstat (limited to 'libstdc++-v3')
-rw-r--r-- | libstdc++-v3/testsuite/25_algorithms/is_permutation/2.cc | 1 |
1 files changed, 1 insertions, 0 deletions
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> |