mirror of
https://github.com/TartanLlama/expected.git
synced 2025-08-02 10:24:31 +02:00
Merge branch 'master' of github.com:TartanLlama/expected
This commit is contained in:
@@ -86,4 +86,4 @@ Requires [Catch](https://github.com/philsquared/Catch) for testing. This is bund
|
|||||||
|
|
||||||
[]("http://creativecommons.org/publicdomain/zero/1.0/")
|
[]("http://creativecommons.org/publicdomain/zero/1.0/")
|
||||||
|
|
||||||
To the extent possible under law, [Simon Brand](https://twitter.com/TartanLlama) has waived all copyright and related or neighboring rights to the `optional` library. This work is published from: United Kingdom.
|
To the extent possible under law, [Simon Brand](https://twitter.com/TartanLlama) has waived all copyright and related or neighboring rights to the `expected` library. This work is published from: United Kingdom.
|
||||||
|
@@ -705,7 +705,7 @@ struct expected_move_assign_base<T, E, false>
|
|||||||
operator=(const expected_move_assign_base &rhs) noexcept(
|
operator=(const expected_move_assign_base &rhs) noexcept(
|
||||||
std::is_nothrow_move_constructible<T>::value
|
std::is_nothrow_move_constructible<T>::value
|
||||||
&&std::is_nothrow_move_assignable<T>::value) {
|
&&std::is_nothrow_move_assignable<T>::value) {
|
||||||
this->assign(std::move(rhs));
|
this->assign(rhs);
|
||||||
return *this;
|
return *this;
|
||||||
}
|
}
|
||||||
expected_move_assign_base &
|
expected_move_assign_base &
|
||||||
|
Reference in New Issue
Block a user