]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
libstdc++: Fix typo in comment
authorJonathan Wakely <jwakely@redhat.com>
Mon, 27 Nov 2023 19:08:31 +0000 (19:08 +0000)
committerJonathan Wakely <jwakely@redhat.com>
Tue, 28 Nov 2023 12:43:09 +0000 (12:43 +0000)
libstdc++-v3/ChangeLog:

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

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

index a9b802774c66ecec8d9839fb29e537eaee53dfa4..18bc393641b17e039f562321fd4f0b322e5fc0d6 100644 (file)
@@ -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);