[committed] libstdc++: Add missing header to test
Commit Message
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>.
Tested x86_64-linux. Committed to trunk.
commit 94311bf34704ebecf745043fe2df03df201052fe
Author: Jonathan Wakely <jwakely@redhat.com>
Date: Fri Oct 1 12:55:53 2021
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>.
@@ -20,6 +20,7 @@
// 25.2.12 [alg.is_permutation] Is permutation
#include <algorithm>
+#include <iterator>
#include <functional>
#include <testsuite_hooks.h>