mirror of
https://github.com/TartanLlama/expected.git
synced 2025-08-03 19:04:29 +02:00
Remove bad move
This commit is contained in:
@@ -680,7 +680,7 @@ struct expected_move_assign_base<T, E, false>
|
||||
operator=(const expected_move_assign_base &rhs) noexcept(
|
||||
std::is_nothrow_move_constructible<T>::value
|
||||
&&std::is_nothrow_move_assignable<T>::value) {
|
||||
this->assign(std::move(rhs));
|
||||
this->assign(rhs);
|
||||
return *this;
|
||||
}
|
||||
expected_move_assign_base &
|
||||
|
Reference in New Issue
Block a user