2
0
mirror of https://github.com/boostorg/spirit.git synced 2026-01-19 04:42:11 +00:00

straightened arg of fixed assignment operators to avoid deprecated-copy-with-user-provided-copy warnings

This commit is contained in:
joaquintides
2025-11-28 21:52:25 +01:00
parent 7c53be7a1f
commit bf81bffaec
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=(basic_istream_iterator 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=(look_ahead const& rhs)
{
this->base_type::operator=(rhs);
return *this;