forked from boostorg/range
range: silence some warnings
[SVN r85584]
This commit is contained in:
committed by
Nathan Ridge
parent
4c28983459
commit
6f0ab4a8be
2
include/boost/range/algorithm/unique.hpp
Executable file → Normal file
2
include/boost/range/algorithm/unique.hpp
Executable file → Normal file
@ -86,7 +86,7 @@ unique( const ForwardRange& rng )
|
||||
/// \overload
|
||||
template< class ForwardRange, class BinaryPredicate >
|
||||
inline BOOST_DEDUCED_TYPENAME range_return<ForwardRange, return_begin_found>::type
|
||||
unique( ForwardRange& rng, BinaryPredicate pred )
|
||||
unique( ForwardRange& rng, BinaryPredicate )
|
||||
{
|
||||
BOOST_RANGE_CONCEPT_ASSERT(( ForwardRangeConcept<ForwardRange> ));
|
||||
return ::boost::range::unique<return_begin_found>(rng);
|
||||
|
2
include/boost/range/detail/range_return.hpp
Executable file → Normal file
2
include/boost/range/detail/range_return.hpp
Executable file → Normal file
@ -168,7 +168,7 @@ namespace boost
|
||||
typedef boost::iterator_range<
|
||||
BOOST_DEDUCED_TYPENAME range_iterator<SinglePassRange>::type > type;
|
||||
|
||||
static type pack(BOOST_DEDUCED_TYPENAME range_iterator<SinglePassRange>::type found,
|
||||
static type pack(BOOST_DEDUCED_TYPENAME range_iterator<SinglePassRange>::type,
|
||||
SinglePassRange& rng)
|
||||
{
|
||||
return type(boost::begin(rng), boost::end(rng));
|
||||
|
Reference in New Issue
Block a user