Skip to content

Commit

Permalink
Fix interface
Browse files Browse the repository at this point in the history
  • Loading branch information
d-frey committed Jul 29, 2023
1 parent 2f7ad8c commit 0242c8c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions include/tao/json/events/set_value.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -37,9 +37,9 @@ namespace tao::json::events
keys_.clear();
}

void reset( basic_value< Traits >& v ) noexcept
void reset( basic_value< Traits > v ) noexcept
{
value_.swap( v );
value_ = std::move( v );
stack_.clear();
keys_.clear();
}
Expand Down

0 comments on commit 0242c8c

Please sign in to comment.