Skip to content

Commit

Permalink
expected: added missing return statement
Browse files Browse the repository at this point in the history
  • Loading branch information
DeanoBurrito committed Jan 2, 2025
1 parent 25bd7c6 commit cd3ceda
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions include/frg/expected.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -97,6 +97,7 @@ struct [[nodiscard]] expected : destructor_crtp<E, T> {
std::launder(reinterpret_cast<T *>(stor_))->~T();
e_ = other.e_;
}
return *this;
}

expected &operator= (expected &&other) {
Expand Down

0 comments on commit cd3ceda

Please sign in to comment.