Unverified Commit 719a87f7 authored by Michael Jones's avatar Michael Jones Committed by GitHub
Browse files

Have bits/allocator.h include bits/stl_iterator.h

Fixes
```
error: call to function '__make_move_if_noexcept_iterator' that is neither visible in the template definition nor found by argument-dependent lookup
            _Tp(__make_move_if_noexcept_iterator(__c.begin()),
```
1 merge request!74Have bits/allocator.h include bits/stl_iterator.h
Pipeline #1122 failed with stages
Showing with 3 additions and 0 deletions
+3 -0
......@@ -46,6 +46,9 @@
#include <bits/c++allocator.h> // Define the base class to std::allocator.
#include <bits/memoryfwd.h>
#if __cplusplus >= 201103L
#if __cpp_exceptions
#include <bits/stl_iterator.h> // for __make_move_if_noexcept_iterator, used by shrink_to_fit
#endif
#include <type_traits>
#endif
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment