Skip to content

Commit

Permalink
Merge pull request #81 from DeanoBurrito/expected-missing-return
Browse files Browse the repository at this point in the history
expected: added missing return statement
  • Loading branch information
avdgrinten authored Jan 2, 2025
2 parents 25bd7c6 + 0b5148d commit 307e936
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 307e936

Please sign in to comment.