aboutsummaryrefslogtreecommitdiff
path: root/contrib/llvm-project/libcxx/include/ext/hash_map
diff options
context:
space:
mode:
Diffstat (limited to 'contrib/llvm-project/libcxx/include/ext/hash_map')
-rw-r--r--contrib/llvm-project/libcxx/include/ext/hash_map8
1 files changed, 7 insertions, 1 deletions
diff --git a/contrib/llvm-project/libcxx/include/ext/hash_map b/contrib/llvm-project/libcxx/include/ext/hash_map
index a52c6a4066f7..8afe12f6319b 100644
--- a/contrib/llvm-project/libcxx/include/ext/hash_map
+++ b/contrib/llvm-project/libcxx/include/ext/hash_map
@@ -201,13 +201,19 @@ template <class Key, class T, class Hash, class Pred, class Alloc>
*/
+#include <__assert> // all public C++ headers provide the assertion handler
#include <__config>
#include <__hash_table>
+#include <algorithm>
#include <ext/__hash>
#include <functional>
#include <stdexcept>
#include <type_traits>
+#ifndef _LIBCPP_REMOVE_TRANSITIVE_INCLUDES
+# include <iterator>
+#endif
+
#if defined(__DEPRECATED) && __DEPRECATED
#if defined(_LIBCPP_WARNING)
_LIBCPP_WARNING("Use of the header <ext/hash_map> is deprecated. Migrate to <unordered_map>")
@@ -217,7 +223,7 @@ template <class Key, class T, class Hash, class Pred, class Alloc>
#endif
#if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER)
-#pragma GCC system_header
+# pragma GCC system_header
#endif
namespace __gnu_cxx {