]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
libstdc++: Include <bits/stl_iterator.h> in <bits/alloc_traits.h>
authorJonathan Wakely <jwakely@redhat.com>
Wed, 21 Feb 2024 15:12:49 +0000 (15:12 +0000)
committerJonathan Wakely <jwakely@redhat.com>
Wed, 28 Feb 2024 11:27:46 +0000 (11:27 +0000)
libstdc++-v3/ChangeLog:

* include/bits/alloc_traits.h: Include <bits/stl_iterator.h> for
__make_move_if_noexcept_iterator.

libstdc++-v3/include/bits/alloc_traits.h

index 5e661e047416957d8232e65585285cc95dd5f5ea..82fc79c7b9f9d048ba9657c41e23f192c5b07df3 100644 (file)
@@ -38,6 +38,9 @@
 # if _GLIBCXX_HOSTED
 #  include <bits/allocator.h>
 # endif
+# if __cpp_exceptions
+#  include <bits/stl_iterator.h> // __make_move_if_noexcept_iterator
+# endif
 #endif
 
 namespace std _GLIBCXX_VISIBILITY(default)