mirror of git://gcc.gnu.org/git/gcc.git
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:
parent
fe807059aa
commit
d872e4aa70
|
|
@ -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>
|
2013-04-28 Jonathan Wakely <jwakely.gcc@gmail.com>
|
||||||
|
|
||||||
PR libstdc++/51365
|
PR libstdc++/51365
|
||||||
|
|
|
||||||
|
|
@ -844,8 +844,8 @@ _GLIBCXX_BEGIN_NAMESPACE_VERSION
|
||||||
/**
|
/**
|
||||||
* Primary class template _Hashtable_ebo_helper.
|
* Primary class template _Hashtable_ebo_helper.
|
||||||
*
|
*
|
||||||
* Helper class using EBO when it is not forbidden, type is not
|
* Helper class using EBO when it is not forbidden (the type is not
|
||||||
* final, and when it worth it, type is empty.
|
* final) and when it is worth it (the type is empty.)
|
||||||
*/
|
*/
|
||||||
template<int _Nm, typename _Tp,
|
template<int _Nm, typename _Tp,
|
||||||
bool __use_ebo = !__is_final(_Tp) && __is_empty(_Tp)>
|
bool __use_ebo = !__is_final(_Tp) && __is_empty(_Tp)>
|
||||||
|
|
|
||||||
|
|
@ -78,7 +78,7 @@ _GLIBCXX_BEGIN_NAMESPACE_VERSION
|
||||||
__mutex_base& operator=(const __mutex_base&) = delete;
|
__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
|
class __recursive_mutex_base
|
||||||
{
|
{
|
||||||
protected:
|
protected:
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue