Hi,

if you don't have anything better to do, plenty of details in the audit trail. Tested x86_64-linux, committed mainline and 4_8-branch.

Thanks,
Paolo.

////////////////////
2013-07-31  Paolo Carlini  <paolo.carl...@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.
Index: include/bits/stl_bvector.h
===================================================================
--- include/bits/stl_bvector.h  (revision 201368)
+++ include/bits/stl_bvector.h  (working copy)
@@ -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:
Index: include/std/bitset
===================================================================
--- include/std/bitset  (revision 201368)
+++ include/std/bitset  (working copy)
@@ -760,7 +760,7 @@ _GLIBCXX_BEGIN_NAMESPACE_CONTAINER
       }
 
 #if __cplusplus >= 201103L
-      template<typename> friend class hash;
+      template<typename> friend struct hash;
 #endif
 
     public:

Reply via email to