From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 2181) id C968B385842B; Fri, 1 Oct 2021 14:04:42 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org C968B385842B MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset="utf-8" From: Jonathan Wakely To: gcc-cvs@gcc.gnu.org, libstdc++-cvs@gcc.gnu.org Subject: [gcc r12-4049] libstdc++: Add missing header to test X-Act-Checkin: gcc X-Git-Author: Jonathan Wakely X-Git-Refname: refs/heads/master X-Git-Oldrev: 901fa4cc27ce693b361220818732556bfa586eea X-Git-Newrev: 94311bf34704ebecf745043fe2df03df201052fe Message-Id: <20211001140442.C968B385842B@sourceware.org> Date: Fri, 1 Oct 2021 14:04:42 +0000 (GMT) X-BeenThere: libstdc++-cvs@gcc.gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Libstdc++-cvs mailing list List-Unsubscribe: , List-Archive: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 01 Oct 2021 14:04:42 -0000 https://gcc.gnu.org/g:94311bf34704ebecf745043fe2df03df201052fe commit r12-4049-g94311bf34704ebecf745043fe2df03df201052fe Author: Jonathan Wakely Date: Fri Oct 1 12:55:53 2021 +0100 libstdc++: Add missing header to test We need to include (or one of the containers) to get a definition for std::begin. libstdc++-v3/ChangeLog: * testsuite/25_algorithms/is_permutation/2.cc: Include . 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 8d15c22f593..252226ca08f 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 +#include #include #include