[gcc r12-3199] libstdc++: Fix comment typo

Jonathan Wakely redi@gcc.gnu.org
Sat Aug 28 12:07:16 GMT 2021


https://gcc.gnu.org/g:dd3e5859fc16701acb73f59220c8c964af9f713b

commit r12-3199-gdd3e5859fc16701acb73f59220c8c964af9f713b
Author: Jonathan Wakely <jwakely@redhat.com>
Date:   Fri Aug 27 22:10:43 2021 +0100

    libstdc++: Fix comment typo
    
    Signed-off-by: Jonathan Wakely <jwakely@redhat.com>
    
    libstdc++-v3/ChangeLog:
    
            * include/bits/stl_uninitialized.h: Fix typo in comment.

Diff:
---
 libstdc++-v3/include/bits/stl_uninitialized.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/libstdc++-v3/include/bits/stl_uninitialized.h b/libstdc++-v3/include/bits/stl_uninitialized.h
index ddc1405cb0e..2fee1e17f00 100644
--- a/libstdc++-v3/include/bits/stl_uninitialized.h
+++ b/libstdc++-v3/include/bits/stl_uninitialized.h
@@ -162,7 +162,7 @@ _GLIBCXX_BEGIN_NAMESPACE_VERSION
 	_ValueType2;
 
       // _ValueType1 must be trivially-copyable to use memmove, so don't
-      // both optimizing to std::copy if it isn't.
+      // bother optimizing to std::copy if it isn't.
       // XXX Unnecessary because std::copy would check it anyway?
       const bool __can_memmove = __is_trivial(_ValueType1);


More information about the Libstdc++-cvs mailing list