Fusion: resolved const correctness issue

[SVN r56381]
This commit is contained in:
Hartmut Kaiser
2009-09-25 13:57:30 +00:00
parent 10c0665ffa
commit 37f57fbf7f
5 changed files with 13 additions and 12 deletions

View File

@ -30,15 +30,14 @@ namespace boost { namespace fusion
template <typename Sequence>
struct apply
{
typedef typename Sequence::sequence_type sequence_type;
typedef typename Sequence::index_type index_type;
typedef nview_iterator<sequence_type,
typedef nview_iterator<Sequence,
typename mpl::end<index_type>::type> type;
static type call(Sequence& v)
static type call(Sequence& s)
{
return type(v.seq);
return type(s);
}
};
};