]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
libstdc++: Fix typo in comment in bits/cow_string.h
authorJonathan Wakely <jwakely@redhat.com>
Wed, 1 Mar 2023 18:58:38 +0000 (18:58 +0000)
committerJonathan Wakely <jwakely@redhat.com>
Wed, 1 Mar 2023 21:26:08 +0000 (21:26 +0000)
libstdc++-v3/ChangeLog:

* include/bits/cow_string.h: Fix typo in comment.

libstdc++-v3/include/bits/cow_string.h

index ad9929c4ad3f4f259e9120fb0b41db77add2dff1..1ee84e606788e145a5d9a055821595e17c8a1923 100644 (file)
@@ -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);
         }