Clean up GCC warnings. Fixes #3033.

[SVN r62869]
This commit is contained in:
Steven Watanabe
2010-06-12 17:59:10 +00:00
parent 7c986ebd61
commit c9a5364472
39 changed files with 83 additions and 83 deletions

View File

@ -69,13 +69,13 @@ namespace boost { namespace fusion
cons()
: car(), cdr() {}
explicit cons(typename detail::call_param<Car>::type car)
: car(car), cdr() {}
explicit cons(typename detail::call_param<Car>::type in_car)
: car(in_car), cdr() {}
cons(
typename detail::call_param<Car>::type car
, typename detail::call_param<Cdr>::type cdr)
: car(car), cdr(cdr) {}
typename detail::call_param<Car>::type in_car
, typename detail::call_param<Cdr>::type in_cdr)
: car(in_car), cdr(in_cdr) {}
template <typename Car2, typename Cdr2>
cons(cons<Car2, Cdr2> const& rhs)

View File

@ -35,8 +35,8 @@ namespace boost { namespace fusion
typename add_const<Cons>::type>
identity;
explicit cons_iterator(cons_type& cons)
: cons(cons) {}
explicit cons_iterator(cons_type& in_cons)
: cons(in_cons) {}
cons_type& cons;

View File

@ -36,8 +36,8 @@ namespace boost { namespace fusion
typedef vector_iterator_identity<
typename add_const<Vector>::type, N> identity;
vector_iterator(Vector& vec)
: vec(vec) {}
vector_iterator(Vector& in_vec)
: vec(in_vec) {}
Vector& vec;
private: