Skip to content

Commit e329330

Browse files
authored
Avoid using deprecated header iterator.hpp
<boost/detail/iterator.hpp> is marked deprecated and is going to be removed in a future release. Replace it with <iterator> to avoid deprecation warnings.
1 parent 453cf59 commit e329330

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

include/boost/array.hpp

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,13 +41,12 @@
4141
#endif
4242

4343
#include <cstddef>
44+
#include <iterator>
4445
#include <stdexcept>
4546
#include <boost/assert.hpp>
4647
#include <boost/static_assert.hpp>
4748
#include <boost/swap.hpp>
4849

49-
// Handles broken standard libraries better than <iterator>
50-
#include <boost/detail/iterator.hpp>
5150
#include <boost/throw_exception.hpp>
5251
#include <algorithm>
5352

0 commit comments

Comments
 (0)