From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 2181) id D0D703858CDB; Wed, 1 Mar 2023 21:26:24 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org D0D703858CDB DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1677705984; bh=sbb2u33R12VSn+d92F96yuNpsvwqzxP68E4eSy1hjMA=; h=From:To:Subject:Date:From; b=SophhKBQrDQYQKqwN5WRJplUaQVa10XY5X483tlAQeHM68QkSwMuX2lJajNaJU0fF CWC6LscddkhQZjXBQJ7c/Winu3qd0/uo/qtxyp9GyZOKbWUpRN0nZaQIRD4LTB1pp3 qDbCcZVz1upD0w3VvoANa43DHHJMkTZbr9GF1zTk= 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 r13-6397] libstdc++: Fix typo in comment in bits/cow_string.h X-Act-Checkin: gcc X-Git-Author: Jonathan Wakely X-Git-Refname: refs/heads/master X-Git-Oldrev: 4abd5bc600193e821fbc41995a0b8d9ea42b42c3 X-Git-Newrev: c54cae823f5243eb63f6de2e2e104aa161db912f Message-Id: <20230301212624.D0D703858CDB@sourceware.org> Date: Wed, 1 Mar 2023 21:26:24 +0000 (GMT) List-Id: https://gcc.gnu.org/g:c54cae823f5243eb63f6de2e2e104aa161db912f commit r13-6397-gc54cae823f5243eb63f6de2e2e104aa161db912f Author: Jonathan Wakely Date: Wed Mar 1 18:58:38 2023 +0000 libstdc++: Fix typo in comment in bits/cow_string.h libstdc++-v3/ChangeLog: * include/bits/cow_string.h: Fix typo in comment. Diff: --- libstdc++-v3/include/bits/cow_string.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/libstdc++-v3/include/bits/cow_string.h b/libstdc++-v3/include/bits/cow_string.h index ad9929c4ad3..1ee84e60678 100644 --- a/libstdc++-v3/include/bits/cow_string.h +++ b/libstdc++-v3/include/bits/cow_string.h @@ -26,7 +26,7 @@ * This is an internal header file, included by other library headers. * Do not attempt to use it directly. @headername{string} * - * Defines the reference-counted COW string implentation. + * Defines the reference-counted COW string implementation. */ #ifndef _COW_STRING_H @@ -3406,7 +3406,7 @@ _GLIBCXX_BEGIN_NAMESPACE_VERSION } else { - // Todo: overlapping case. + // TODO: overlapping case. const basic_string __tmp(__s, __n2); return _M_replace_safe(__pos, __n1, __tmp._M_data(), __n2); }