This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[patch] Tweak comments in libstdc++ header


Minor grammatical fix. Committed to trunk.

commit 1d82192ff38f4d0777ed57e8c05f3d1659e98649
Author: Jonathan Wakely <jwakely@redhat.com>
Date:   Tue Nov 10 08:41:57 2015 +0000

    	* include/bits/functional_hash.h: Fix grammar in comment.

diff --git a/libstdc++-v3/include/bits/functional_hash.h b/libstdc++-v3/include/bits/functional_hash.h
index 88937bd..bc192c8 100644
--- a/libstdc++-v3/include/bits/functional_hash.h
+++ b/libstdc++-v3/include/bits/functional_hash.h
@@ -239,9 +239,9 @@ _GLIBCXX_BEGIN_NAMESPACE_VERSION
 
   // @} group hashes
 
-  // Hint about performance of hash functor. If not fast the hash based
+  // Hint about performance of hash functor. If not fast the hash-based
   // containers will cache the hash code.
-  // Default behavior is to consider that hasher are fast unless specified
+  // Default behavior is to consider that hashers are fast unless specified
   // otherwise.
   template<typename _Hash>
     struct __is_fast_hash : public std::true_type

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]