From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 2181) id 59C023857C5E; Tue, 16 Nov 2021 14:16:47 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 59C023857C5E 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-5303] libstdc++: Fix typos in tests X-Act-Checkin: gcc X-Git-Author: Jonathan Wakely X-Git-Refname: refs/heads/master X-Git-Oldrev: b796ab35d11a73340abff28edec0a75ff4fd1d1f X-Git-Newrev: 971976947154c7442a2f8262a9bbd1bc540e6544 Message-Id: <20211116141647.59C023857C5E@sourceware.org> Date: Tue, 16 Nov 2021 14:16:47 +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, 16 Nov 2021 14:16:47 -0000 https://gcc.gnu.org/g:971976947154c7442a2f8262a9bbd1bc540e6544 commit r12-5303-g971976947154c7442a2f8262a9bbd1bc540e6544 Author: Jonathan Wakely Date: Mon Nov 15 20:37:04 2021 +0000 libstdc++: Fix typos in tests libstdc++-v3/ChangeLog: * testsuite/21_strings/basic_string/allocator/71964.cc: Fix typo. * testsuite/23_containers/set/allocator/71964.cc: Likewise. Diff: --- libstdc++-v3/testsuite/21_strings/basic_string/allocator/71964.cc | 2 +- libstdc++-v3/testsuite/23_containers/set/allocator/71964.cc | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/libstdc++-v3/testsuite/21_strings/basic_string/allocator/71964.cc b/libstdc++-v3/testsuite/21_strings/basic_string/allocator/71964.cc index c57cb96e971..4196b331aca 100644 --- a/libstdc++-v3/testsuite/21_strings/basic_string/allocator/71964.cc +++ b/libstdc++-v3/testsuite/21_strings/basic_string/allocator/71964.cc @@ -40,7 +40,7 @@ template a.moved_from = true; } - T* allocate(unsigned n) { return std::allocator{}.allcoate(n); } + T* allocate(unsigned n) { return std::allocator{}.allocate(n); } void deallocate(T* p, unsigned n) { std::allocator{}.deallocate(p, n); } bool moved_to; diff --git a/libstdc++-v3/testsuite/23_containers/set/allocator/71964.cc b/libstdc++-v3/testsuite/23_containers/set/allocator/71964.cc index 34a02d85e66..a2c166afd0f 100644 --- a/libstdc++-v3/testsuite/23_containers/set/allocator/71964.cc +++ b/libstdc++-v3/testsuite/23_containers/set/allocator/71964.cc @@ -40,7 +40,7 @@ template a.moved_from = true; } - T* allocate(unsigned n) { return std::allocator{}.allcoate(n); } + T* allocate(unsigned n) { return std::allocator{}.allocate(n); } void deallocate(T* p, unsigned n) { std::allocator{}.deallocate(p, n); } bool moved_to;