The warnings are generated by boost/detail/iterator.hpp, which has been deprecated in favor of <iterator>.
Also, updated location of enable_if.hpp.
10 | 10 | ||
11 | 11 | #if defined(_MSC_VER) |
|
12 | 12 | # pragma once |
|
13 | - | #endif |
|
13 | + | #endif |
|
14 | 14 | ||
15 | 15 | #include <algorithm> // min. |
|
16 | 16 | #include <boost/assert.hpp> |
|
17 | 17 | #include <cstddef> // ptrdiff_t. |
|
18 | 18 | #include <iosfwd> // streamsize, streamoff. |
|
19 | - | #include <boost/detail/iterator.hpp> // boost::iterator_traits. |
|
19 | + | #include <iterator> // iterator_traits. |
|
20 | 20 | #include <boost/iostreams/categories.hpp> |
|
21 | 21 | #include <boost/iostreams/detail/error.hpp> |
|
22 | 22 | #include <boost/iostreams/positioning.hpp> |
|
23 | 23 | #include <boost/mpl/if.hpp> |
|
24 | 24 | #include <boost/throw_exception.hpp> |
|
25 | 25 | #include <boost/type_traits/is_convertible.hpp> |
|
26 | - | #include <boost/utility/enable_if.hpp> |
|
26 | + | #include <boost/core/enable_if.hpp> |
|
27 | 27 | ||
28 | 28 | // Must come last. |
|
29 | 29 | #include <boost/iostreams/detail/config/disable_warnings.hpp> // MSVC. |
44 | 44 | class range_adapter { |
|
45 | 45 | private: |
|
46 | 46 | typedef typename Range::iterator iterator; |
|
47 | - | typedef boost::detail::iterator_traits<iterator> iter_traits; |
|
47 | + | typedef std::iterator_traits<iterator> iter_traits; |
|
48 | 48 | typedef typename iter_traits::iterator_category iter_cat; |
|
49 | 49 | public: |
|
50 | 50 | typedef typename Range::value_type char_type; |
Files | Coverage |
---|---|
include/boost/iostreams | 68.49% |
src | 70.59% |
Project Totals (80 files) | 68.84% |
TRAVIS_OS_NAME=linux