diff --git a/include/boost/spirit/home/support/iterators/istream_iterator.hpp b/include/boost/spirit/home/support/iterators/istream_iterator.hpp index d80f5ad1b..410c814c8 100644 --- a/include/boost/spirit/home/support/iterators/istream_iterator.hpp +++ b/include/boost/spirit/home/support/iterators/istream_iterator.hpp @@ -62,7 +62,7 @@ namespace boost { namespace spirit : base_type() {} // shipped with gcc 3.1 #endif // BOOST_WORKAROUND(__GLIBCPP__, == 20020514) - basic_istream_iterator& operator=(base_type const& rhs) + basic_istream_iterator& operator=(basic_istream_iterator const& rhs) { this->base_type::operator=(rhs); return *this; diff --git a/include/boost/spirit/home/support/iterators/look_ahead.hpp b/include/boost/spirit/home/support/iterators/look_ahead.hpp index 8523bdd1c..be6cfd1bb 100644 --- a/include/boost/spirit/home/support/iterators/look_ahead.hpp +++ b/include/boost/spirit/home/support/iterators/look_ahead.hpp @@ -56,7 +56,7 @@ namespace boost { namespace spirit : base_type() {} // shipped with gcc 3.1 #endif // BOOST_WORKAROUND(__GLIBCPP__, == 20020514) - look_ahead& operator=(base_type const& rhs) + look_ahead& operator=(look_ahead const& rhs) { this->base_type::operator=(rhs); return *this;