[gcc r14-5921] libstdc++: Fix typo in comment

Jonathan Wakely redi@gcc.gnu.org
Tue Nov 28 12:43:59 GMT 2023


https://gcc.gnu.org/g:3e35c54a9b54e62c44980b6b07289b7c59ad0ce7

commit r14-5921-g3e35c54a9b54e62c44980b6b07289b7c59ad0ce7
Author: Jonathan Wakely <jwakely@redhat.com>
Date:   Mon Nov 27 19:08:31 2023 +0000

    libstdc++: Fix typo in comment
    
    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 a9b802774c6..18bc393641b 100644
--- a/libstdc++-v3/include/bits/stl_uninitialized.h
+++ b/libstdc++-v3/include/bits/stl_uninitialized.h
@@ -1119,7 +1119,7 @@ _GLIBCXX_BEGIN_NAMESPACE_VERSION
 #ifdef __cpp_lib_is_constant_evaluated
 	  if (std::is_constant_evaluated())
 	    {
-	      // Can't use memcpu. Wrap the pointer so that __relocate_a_1
+	      // Can't use memcpy. Wrap the pointer so that __relocate_a_1
 	      // resolves to the non-trivial overload above.
 	      __gnu_cxx::__normal_iterator<_Tp*, void> __out(__result);
 	      __out = std::__relocate_a_1(__first, __last, __out, __alloc);


More information about the Libstdc++-cvs mailing list