Skip to content

Commit 01ab510

Browse files
Lastiquestefanseefeld
authored andcommitted
Removed usage of deprecated header boost/detail/iterator.hpp.
The header is deprecated in favor of <iterator>. It generates compiler warnings and will be removed in a future release.
1 parent 5e2d55d commit 01ab510

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

include/boost/python/object/iterator.hpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@
2525

2626
# include <boost/type.hpp>
2727

28-
# include <boost/detail/iterator.hpp>
28+
# include <iterator>
2929

3030
namespace boost { namespace python { namespace objects {
3131

@@ -42,7 +42,7 @@ struct iterator_range
4242
{
4343
iterator_range(object sequence, Iterator start, Iterator finish);
4444

45-
typedef boost::detail::iterator_traits<Iterator> traits_t;
45+
typedef std::iterator_traits<Iterator> traits_t;
4646

4747
struct next
4848
{

0 commit comments

Comments
 (0)