re PR libstdc++/56627 (class hash instead of struct hash)
2013-07-31 Paolo Carlini <paolo.carlini@oracle.com> PR libstdc++/56627 * include/bits/stl_bvector.h: Use friend struct hash intead of friend class hash to work around useless warnings produced by some compilers. * include/std/bitset: Likewise. From-SVN: r201377
This commit is contained in:
parent
c3f35647ff
commit
4333e4dcf7
@ -1,3 +1,11 @@
|
||||
2013-07-31 Paolo Carlini <paolo.carlini@oracle.com>
|
||||
|
||||
PR libstdc++/56627
|
||||
* include/bits/stl_bvector.h: Use friend struct hash intead of
|
||||
friend class hash to work around useless warnings produced by
|
||||
some compilers.
|
||||
* include/std/bitset: Likewise.
|
||||
|
||||
2013-07-31 Paolo Carlini <paolo.carlini@oracle.com>
|
||||
|
||||
* src/c++11/functexcept.cc: Do not include the whole <regex>.
|
||||
|
@ -528,7 +528,7 @@ template<typename _Alloc>
|
||||
typedef _Bvector_base<_Alloc> _Base;
|
||||
|
||||
#if __cplusplus >= 201103L
|
||||
template<typename> friend class hash;
|
||||
template<typename> friend struct hash;
|
||||
#endif
|
||||
|
||||
public:
|
||||
|
@ -760,7 +760,7 @@ _GLIBCXX_BEGIN_NAMESPACE_CONTAINER
|
||||
}
|
||||
|
||||
#if __cplusplus >= 201103L
|
||||
template<typename> friend class hash;
|
||||
template<typename> friend struct hash;
|
||||
#endif
|
||||
|
||||
public:
|
||||
|
Loading…
Reference in New Issue
Block a user