[gcc r12-9329] libstdc++: Fix typo in comment in bits/cow_string.h
Jonathan Wakely
redi@gcc.gnu.org
Tue Mar 28 23:33:48 GMT 2023
https://gcc.gnu.org/g:1729d03652a700342f23c2fa6f249d9dec5e9e02
commit r12-9329-g1729d03652a700342f23c2fa6f249d9dec5e9e02
Author: Jonathan Wakely <jwakely@redhat.com>
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.
(cherry picked from commit c54cae823f5243eb63f6de2e2e104aa161db912f)
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 7bceb06a79b..87720690cd3 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
@@ -3350,7 +3350,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);
}
More information about the Libstdc++-cvs
mailing list