]> 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>
Mon, 9 May 2022 16:37:21 +0000 (17:37 +0100)
commita5ae767c18ba7d78d11248604c5468e47b80f09b
treec4f855460cf6afac1c792a7c281259dfa01e77e4
parent79b7b824346d3cb3101d1896f81ed16392b7471c
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