Skip to content

Commit

Permalink
libstdc++: Include <bits/stl_iterator.h> in <bits/alloc_traits.h>
Browse files Browse the repository at this point in the history
libstdc++-v3/ChangeLog:

	* include/bits/alloc_traits.h: Include <bits/stl_iterator.h> for
	__make_move_if_noexcept_iterator.
  • Loading branch information
jwakely committed Feb 28, 2024
1 parent d59175e commit 3c1e624
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions libstdc++-v3/include/bits/alloc_traits.h
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 3c1e624

Please sign in to comment.