|
Boost : |
Subject: [boost] range: strided unused parameter 'first' [PATCH]
From: Shaun Jackman (sjackman_at_[hidden])
Date: 2011-10-18 14:16:48
Hi,
When using boost::strided I get the following error:
boost/range/adaptor/strided.hpp:52: error: unused parameter 'first'
The following patch should fix this error.
Cheers,
Shaun
--- boost/range/adaptor/strided.hpp (revision 75052)
+++ boost/range/adaptor/strided.hpp (working copy)
@@ -49,7 +49,7 @@ namespace boost
{
}
- strided_iterator(base_iterator first, base_iterator it, base_iterator last, difference_type stride)
+ strided_iterator(base_iterator, base_iterator it, base_iterator last, difference_type stride)
: super_t(it)
, m_last(last)
, m_stride(stride)
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk