Skip to content

Commit

Permalink
copy don't move
Browse files Browse the repository at this point in the history
  • Loading branch information
dagardner-nv committed Sep 6, 2023
1 parent ad7dbdc commit d59da0e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cpp/mrc/src/internal/control_plane/client.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -164,7 +164,7 @@ void Client::do_handle_event(event_t&& event)
auto* promise = reinterpret_cast<Promise<protos::Event>*>(event.msg.tag());
if (promise != nullptr)
{
promise->set_value(std::move(event.msg));
promise->set_value(event.msg);
}
}
break;
Expand Down

0 comments on commit d59da0e

Please sign in to comment.