ETLCPP / etl

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

Bug: queue move-assignment is not compiling #885

Closed enbyted closed 2 months ago

enbyted commented 2 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 2 months ago

Fixed 20.38.12