From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 2181) id 5FC4D385781C; Tue, 12 Oct 2021 10:58:31 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 5FC4D385781C 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 r11-9101] libstdc++: Add missing header to test X-Act-Checkin: gcc X-Git-Author: Jonathan Wakely X-Git-Refname: refs/heads/releases/gcc-11 X-Git-Oldrev: eb7566fef58b0c32c6998d360ebf96dd6d0bfd49 X-Git-Newrev: cfddef4e6b505b02548d3e9e0bd9f4185292da77 Message-Id: <20211012105831.5FC4D385781C@sourceware.org> Date: Tue, 12 Oct 2021 10:58:31 +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: Tue, 12 Oct 2021 10:58:31 -0000 https://gcc.gnu.org/g:cfddef4e6b505b02548d3e9e0bd9f4185292da77 commit r11-9101-gcfddef4e6b505b02548d3e9e0bd9f4185292da77 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 . (cherry picked from commit 94311bf34704ebecf745043fe2df03df201052fe) 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