Skip to content

Commit 3c1e624

Browse files
committed
libstdc++: Include <bits/stl_iterator.h> in <bits/alloc_traits.h>
libstdc++-v3/ChangeLog: * include/bits/alloc_traits.h: Include <bits/stl_iterator.h> for __make_move_if_noexcept_iterator.
1 parent d59175e commit 3c1e624

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

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

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,9 @@
3838
# if _GLIBCXX_HOSTED
3939
# include <bits/allocator.h>
4040
# endif
41+
# if __cpp_exceptions
42+
# include <bits/stl_iterator.h> // __make_move_if_noexcept_iterator
43+
# endif
4144
#endif
4245

4346
namespace std _GLIBCXX_VISIBILITY(default)

0 commit comments

Comments
 (0)