]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
Add missing header required by previous change
authorredi <redi@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 4 Oct 2019 13:17:54 +0000 (13:17 +0000)
committerredi <redi@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 4 Oct 2019 13:17:54 +0000 (13:17 +0000)
* include/tr1/hashtable.h: Add header for __gnu_cxx::__alloc_traits.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@276576 138bc75d-0d04-0410-961f-82ee72b054a4

libstdc++-v3/ChangeLog
libstdc++-v3/include/tr1/hashtable.h

index 6a3b61453e25f007226a41b388a0176f573b6291..9122cd168910202126c1add88ea6c01468c93ff5 100644 (file)
@@ -1,5 +1,7 @@
 2019-10-04  Jonathan Wakely  <jwakely@redhat.com>
 
+       * include/tr1/hashtable.h: Add header for __gnu_cxx::__alloc_traits.
+
        * include/tr1/hashtable.h (tr1::_Hashtable::_M_allocate_node): Use
        __gnu_cxx::__alloc_traits for allocator construct function.
        (tr1::_Hashtable::_M_deallocate_node): Likewise for destroy function.
index 85fec6a6a14c2a45f5e9a5db8e0ffc0026b47a4d..354d7b814ebab0798044179bffd1cbf4472d8093 100644 (file)
@@ -34,6 +34,7 @@
 #pragma GCC system_header
 
 #include <tr1/hashtable_policy.h>
+#include <ext/alloc_traits.h>
 
 namespace std _GLIBCXX_VISIBILITY(default)
 {