Fix -Wshadow warnings

This commit is contained in:
Ion Gaztañaga
2021-12-27 14:40:29 +01:00
parent 40735223d5
commit ea3521bf14
4 changed files with 8 additions and 9 deletions
+2 -2
View File
@@ -418,8 +418,8 @@ struct insert_return_type_base
{}
template<class RelatedIt, class RelatedNode>
insert_return_type_base(bool insert, RelatedIt it, BOOST_RV_REF(RelatedNode) node)
: inserted(insert), position(it), node(boost::move(node))
insert_return_type_base(bool insert, RelatedIt it, BOOST_RV_REF(RelatedNode) n)
: inserted(insert), position(it), node(boost::move(n))
{}
insert_return_type_base & operator=(BOOST_RV_REF(insert_return_type_base) other)