[gcc r15-5030] libstdc++: Fix grammar in comment, again

Jonathan Wakely redi@gcc.gnu.org
Thu Nov 7 21:58:52 GMT 2024


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

commit r15-5030-gc26e83918b58040ff735a61de5acb6b3b96c5ea3
Author: Jonathan Wakely <jwakely@redhat.com>
Date:   Thu Nov 7 21:57:52 2024 +0000

    libstdc++: Fix grammar in comment, again
    
    libstdc++-v3/ChangeLog:
    
            * include/bits/hashtable.h (_Hashtable): Fix comment grammar.

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

diff --git a/libstdc++-v3/include/bits/hashtable.h b/libstdc++-v3/include/bits/hashtable.h
index d36b32a7e3fa..6c553fb4b08a 100644
--- a/libstdc++-v3/include/bits/hashtable.h
+++ b/libstdc++-v3/include/bits/hashtable.h
@@ -353,7 +353,7 @@ _GLIBCXX_BEGIN_NAMESPACE_VERSION
 		    "Functor used to map hash code to bucket index must be"
 		    " noexcept");
 
-      // To compute bucket index we also need _ExtractKey be non-throwing.
+      // To compute bucket index we also need _ExtractKey to be non-throwing.
       static_assert(is_nothrow_default_constructible<_ExtractKey>::value,
 		    "_ExtractKey must be nothrow default constructible");
       static_assert(noexcept(


More information about the Libstdc++-cvs mailing list