Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r85584 - in trunk/boost/range: algorithm detail
From: tim_at_[hidden]
Date: 2013-09-06 04:51:00


Author: timblechmann
Date: 2013-09-06 04:51:00 EDT (Fri, 06 Sep 2013)
New Revision: 85584
URL: http://svn.boost.org/trac/boost/changeset/85584

Log:
range: silence some warnings

Text files modified:
   trunk/boost/range/algorithm/unique.hpp | 2 +-
   trunk/boost/range/detail/range_return.hpp | 2 +-
   2 files changed, 2 insertions(+), 2 deletions(-)

Modified: trunk/boost/range/algorithm/unique.hpp
==============================================================================
--- trunk/boost/range/algorithm/unique.hpp Thu Sep 5 23:54:57 2013 (r85583)
+++ trunk/boost/range/algorithm/unique.hpp 2013-09-06 04:51:00 EDT (Fri, 06 Sep 2013) (r85584)
@@ -86,7 +86,7 @@
 /// \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);

Modified: trunk/boost/range/detail/range_return.hpp
==============================================================================
--- trunk/boost/range/detail/range_return.hpp Thu Sep 5 23:54:57 2013 (r85583)
+++ trunk/boost/range/detail/range_return.hpp 2013-09-06 04:51:00 EDT (Fri, 06 Sep 2013) (r85584)
@@ -168,7 +168,7 @@
         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));


Boost-Commit list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk