From: Jonathan Wakely Date: Fri, 4 Oct 2019 13:17:54 +0000 (+0100) Subject: Add missing header required by previous change X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=3459c905450b860e8fb2881313a3ea950e05174e;p=gcc.git Add missing header required by previous change * include/tr1/hashtable.h: Add header for __gnu_cxx::__alloc_traits. From-SVN: r276576 --- diff --git a/libstdc++-v3/ChangeLog b/libstdc++-v3/ChangeLog index 6a3b61453e2..9122cd16891 100644 --- a/libstdc++-v3/ChangeLog +++ b/libstdc++-v3/ChangeLog @@ -1,5 +1,7 @@ 2019-10-04 Jonathan Wakely + * 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. diff --git a/libstdc++-v3/include/tr1/hashtable.h b/libstdc++-v3/include/tr1/hashtable.h index 85fec6a6a14..354d7b814eb 100644 --- a/libstdc++-v3/include/tr1/hashtable.h +++ b/libstdc++-v3/include/tr1/hashtable.h @@ -34,6 +34,7 @@ #pragma GCC system_header #include +#include namespace std _GLIBCXX_VISIBILITY(default) {