fixed g++ complaining "error: shadows template parm"

[SVN r35346]
This commit is contained in:
Joel de Guzman
2006-09-26 22:25:45 +00:00
parent 6723082617
commit 1f9388ec86
3 changed files with 50 additions and 50 deletions

View File

@ -19,14 +19,14 @@
namespace boost { namespace fusion
{
template <typename Iterator>
template <typename Iterator_>
struct mpl_iterator
: iterator_facade<
mpl_iterator<Iterator>
, typename detail::mpl_iterator_category<typename Iterator::category>::type
mpl_iterator<Iterator_>
, typename detail::mpl_iterator_category<typename Iterator_::category>::type
>
{
typedef typename remove_const<Iterator>::type iterator_type;
typedef typename remove_const<Iterator_>::type iterator_type;
template <typename Iterator>
struct value_of : mpl::deref<typename Iterator::iterator_type> {};