update boost
This commit is contained in:
@@ -117,8 +117,8 @@ public:
|
||||
|
||||
std::streamsize optimal_buffer_size() const
|
||||
{ return iostreams::optimal_buffer_size(t_); }
|
||||
public:
|
||||
concept_adapter& operator=(const concept_adapter&);
|
||||
private:
|
||||
BOOST_DELETED_FUNCTION(concept_adapter& operator=(const concept_adapter&))
|
||||
value_type t_;
|
||||
};
|
||||
|
||||
|
||||
@@ -10,20 +10,20 @@
|
||||
|
||||
#if defined(_MSC_VER)
|
||||
# pragma once
|
||||
#endif
|
||||
#endif
|
||||
|
||||
#include <algorithm> // min.
|
||||
#include <boost/assert.hpp>
|
||||
#include <cstddef> // ptrdiff_t.
|
||||
#include <iosfwd> // streamsize, streamoff.
|
||||
#include <boost/detail/iterator.hpp> // boost::iterator_traits.
|
||||
#include <iterator> // iterator_traits.
|
||||
#include <boost/iostreams/categories.hpp>
|
||||
#include <boost/iostreams/detail/error.hpp>
|
||||
#include <boost/iostreams/positioning.hpp>
|
||||
#include <boost/mpl/if.hpp>
|
||||
#include <boost/throw_exception.hpp>
|
||||
#include <boost/type_traits/is_convertible.hpp>
|
||||
#include <boost/utility/enable_if.hpp>
|
||||
#include <boost/core/enable_if.hpp>
|
||||
|
||||
// Must come last.
|
||||
#include <boost/iostreams/detail/config/disable_warnings.hpp> // MSVC.
|
||||
@@ -44,7 +44,7 @@ template<typename Mode, typename Range>
|
||||
class range_adapter {
|
||||
private:
|
||||
typedef typename Range::iterator iterator;
|
||||
typedef boost::detail::iterator_traits<iterator> iter_traits;
|
||||
typedef std::iterator_traits<iterator> iter_traits;
|
||||
typedef typename iter_traits::iterator_category iter_cat;
|
||||
public:
|
||||
typedef typename Range::value_type char_type;
|
||||
|
||||
Reference in New Issue
Block a user