]> git.ipfire.org Git - thirdparty/gcc.git/commit
libstdc++: Add missing header to test
authorJonathan Wakely <jwakely@redhat.com>
Fri, 1 Oct 2021 11:55:53 +0000 (12:55 +0100)
committerJonathan Wakely <jwakely@redhat.com>
Tue, 12 Oct 2021 10:45:42 +0000 (11:45 +0100)
commitcfddef4e6b505b02548d3e9e0bd9f4185292da77
treec1992f7a41639a1e72fa0bd4b070a38f99c791ef
parenteb7566fef58b0c32c6998d360ebf96dd6d0bfd49
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)
libstdc++-v3/testsuite/25_algorithms/is_permutation/2.cc