From 3459c905450b860e8fb2881313a3ea950e05174e Mon Sep 17 00:00:00 2001 From: Jonathan Wakely Date: Fri, 4 Oct 2019 14:17:54 +0100 Subject: [PATCH] Add missing header required by previous change * include/tr1/hashtable.h: Add header for __gnu_cxx::__alloc_traits. From-SVN: r276576 --- libstdc++-v3/ChangeLog | 2 ++ libstdc++-v3/include/tr1/hashtable.h | 1 + 2 files changed, 3 insertions(+) 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) { -- 2.30.2