hashtable_policy.h (_Hashtable_ebo_helper): Fix comment.

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

From-SVN: r198368
This commit is contained in:
Jonathan Wakely 2013-04-28 11:51:59 +00:00 committed by Jonathan Wakely
parent fe807059aa
commit d872e4aa70
3 changed files with 9 additions and 3 deletions

View File

@ -1,3 +1,9 @@
2013-04-28 Jonathan Wakely <jwakely.gcc@gmail.com>
* include/bits/hashtable_policy.h (_Hashtable_ebo_helper): Fix
comment.
* include/std/mutex (__recursive_mutex_base): Likewise.
2013-04-28 Jonathan Wakely <jwakely.gcc@gmail.com>
PR libstdc++/51365

View File

@ -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)>

View File

@ -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: