Skip to content

Commit

Permalink
Merge pull request #248 from UE4SS-RE/annotations_operator_fix
Browse files Browse the repository at this point in the history
Constructs: fix annotated assignment operators
  • Loading branch information
narknon authored Oct 31, 2023
2 parents 5b9f96e + e8da48d commit 99a60cc
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions deps/first/Constructs/include/Constructs/Annotated.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,7 @@ namespace RC
requires std::is_copy_assignable_v<T>
{
value = other.value;
return *this;
}

template <typename OtherC>
Expand All @@ -67,6 +68,7 @@ namespace RC
requires std::is_move_assignable_v<T>
{
value = std::move(other.value);
return *this;
}

T operator*() const noexcept
Expand Down

0 comments on commit 99a60cc

Please sign in to comment.