Remove bad move

This commit is contained in:
Simon Brand
2017-12-01 12:23:52 +00:00
parent e65b3d6fe4
commit e0d5b0bf19

View File

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