Patchwork tweak some libstdc++ comments

login
register
mail settings
Submitter Jonathan Wakely
Date April 28, 2013, 12:29 p.m.
Message ID <CAH6eHdStUi2Xy+9KZ2pNp+SNiwSEcMo=JRCRaKdqjiNUOOi7BQ@mail.gmail.com>
Download mbox | patch
Permalink /patch/240248/
State New
Headers show

Comments

Jonathan Wakely - April 28, 2013, 12:29 p.m.
* include/bits/hashtable_policy.h (_Hashtable_ebo_helper): Fix
        comment.
        * include/std/mutex (__recursive_mutex_base): Likewise.

Tested x86_64-linux, committed to trunk.
commit eebe0bf329438168c002754c4a0d5b7e1b59e6f5
Author: Jonathan Wakely <jwakely.gcc@gmail.com>
Date:   Sun Apr 28 12:49:20 2013 +0100

    	* include/bits/hashtable_policy.h (_Hashtable_ebo_helper): Fix
    	comment.
    	* include/std/mutex (__recursive_mutex_base): Likewise.

Patch

diff --git a/libstdc++-v3/include/bits/hashtable_policy.h b/libstdc++-v3/include/bits/hashtable_policy.h
index 1cf6cb2..1c76af0 100644
--- a/libstdc++-v3/include/bits/hashtable_policy.h
+++ b/libstdc++-v3/include/bits/hashtable_policy.h
@@ -844,8 +844,8 @@  _GLIBCXX_BEGIN_NAMESPACE_VERSION
   /**
    *  Primary class template _Hashtable_ebo_helper.
    *
-   *  Helper class using EBO when it is not forbidden, type is not
-   *  final, and when it worth it, type is empty.
+   *  Helper class using EBO when it is not forbidden (the type is not
+   *  final) and when it is worth it (the type is empty.)
    */
   template<int _Nm, typename _Tp,
 	   bool __use_ebo = !__is_final(_Tp) && __is_empty(_Tp)>
diff --git a/libstdc++-v3/include/std/mutex b/libstdc++-v3/include/std/mutex
index 67f3418..3c666c1 100644
--- a/libstdc++-v3/include/std/mutex
+++ b/libstdc++-v3/include/std/mutex
@@ -78,7 +78,7 @@  _GLIBCXX_BEGIN_NAMESPACE_VERSION
     __mutex_base& operator=(const __mutex_base&) = delete;
   };
 
-  // Common base class for std::recursive_mutex and std::timed_recursive_mutex
+  // Common base class for std::recursive_mutex and std::recursive_timed_mutex
   class __recursive_mutex_base
   {
   protected: