ETLCPP / etl

Embedded Template Library
https://www.etlcpp.com
MIT License
2.26k stars 393 forks source link

Bug: queue move-assignment is not compiling #885

Closed enbyted closed 7 months ago

enbyted commented 7 months ago

For queue type the move assignment is defined as such:

queue& operator=(queue&& rhs)
{
  if (&rhs != this)
  {
    base_t::move_clone(rhs);
  }

  return *this;
}

There is a missing etl::move() around the rhs, which causes the r-value reference to be converted to l-value reference, which fails compilation.

jwellbelove commented 7 months ago

Fixed 20.38.12