2
0
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:
joaquintides
2025-11-28 21:46:37 +01:00
parent 4104c49848
commit 7c53be7a1f
2 changed files with 2 additions and 2 deletions

View File

@@ -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;

View File

@@ -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;