mirror of
https://github.com/boostorg/spirit.git
synced 2026-01-19 04:42:11 +00:00
fixed assignment operators
This commit is contained in:
@@ -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=(base_type const& rhs)
|
||||
{
|
||||
this->base_type::operator=(rhs);
|
||||
return *this;
|
||||
|
||||
@@ -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=(base_type const& rhs)
|
||||
{
|
||||
this->base_type::operator=(rhs);
|
||||
return *this;
|
||||
|
||||
Reference in New Issue
Block a user