Add missing header required by previous change
authorJonathan Wakely <jwakely@redhat.com>
Fri, 4 Oct 2019 13:17:54 +0000 (14:17 +0100)
committerJonathan Wakely <redi@gcc.gnu.org>
Fri, 4 Oct 2019 13:17:54 +0000 (14:17 +0100)
* include/tr1/hashtable.h: Add header for __gnu_cxx::__alloc_traits.

From-SVN: r276576

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