Skip to content

Commit

Permalink
#verification #docs #sonar
Browse files Browse the repository at this point in the history
  • Loading branch information
serges147 committed May 29, 2024
1 parent 5d3023c commit a994e6c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions include/cetl/pmr/function.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -171,8 +171,8 @@ class function<Result(Args...), Footprint, IsPmr> final
{
if (this != &other)
{
any_handler_ = std::move(other.any_handler_);
handler_ptr_ = get_if<handler_t>(&any_handler_);
any_handler_ = std::move(other.any_handler_);
handler_ptr_ = get_if<handler_t>(&any_handler_);
other.handler_ptr_ = nullptr;
}
return *this;
Expand Down

0 comments on commit a994e6c

Please sign in to comment.