forked from boostorg/range
[boost][range] - Resolved Trace 5162 - boost::iterator_range<T*> is unsafe.
[SVN r70852]
This commit is contained in:
@ -53,13 +53,13 @@ namespace boost
|
||||
template< class ForwardRange >
|
||||
static IteratorT adl_begin( ForwardRange& r )
|
||||
{
|
||||
return IteratorT( boost::begin( r ) );
|
||||
return static_cast<IteratorT>( boost::begin( r ) );
|
||||
}
|
||||
|
||||
template< class ForwardRange >
|
||||
static IteratorT adl_end( ForwardRange& r )
|
||||
{
|
||||
return IteratorT( boost::end( r ) );
|
||||
return static_cast<IteratorT>( boost::end( r ) );
|
||||
}
|
||||
};
|
||||
|
||||
|
Reference in New Issue
Block a user