Skip to content

Commit

Permalink
return in untested fn
Browse files Browse the repository at this point in the history
  • Loading branch information
kelbon committed Feb 16, 2024
1 parent b3dde25 commit b041903
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion include/anyany/anyany.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -1231,7 +1231,7 @@ struct basic_any : construct_interface<basic_any<Alloc, SooSize, Methods...>, Me

void replace_with(basic_any&& other) noexcept(movable_alloc()) {
if (this == std::addressof(other))
return *this;
return;
move_assign<exception_guarantee::strong>(other);
}
template <typename V, typename Self = basic_any,
Expand Down

0 comments on commit b041903

Please sign in to comment.