Skip to content

Commit

Permalink
[occ] Fix broken build
Browse files Browse the repository at this point in the history
  • Loading branch information
teo committed Nov 10, 2023
1 parent 07a0bfc commit c7fac44
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions occ/plugin/OccPluginServer.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ OccPluginServer::EventStream(grpc::ServerContext* context,
auto onDeviceStateChange = [&](fair::mq::PluginServices::DeviceState reachedState) {
std::lock_guard<std::mutex> lock(writer_mu);
auto state = fair::mq::PluginServices::ToStr(reachedState);
last_known_state = state
last_known_state = state;

OLOG(debug) << "[EventStream] new state: " << state;

Expand Down Expand Up @@ -115,7 +115,7 @@ OccPluginServer::StateStream(grpc::ServerContext* context,
auto onDeviceStateChange = [&](fair::mq::PluginServices::DeviceState reachedState) {
std::lock_guard<std::mutex> lock(writer_mu);
auto state = fair::mq::PluginServices::ToStr(reachedState);
last_known_state = state
last_known_state = state;
pb::StateType sType = isIntermediateFMQState(state) ? pb::STATE_INTERMEDIATE : pb::STATE_STABLE;

pb::StateStreamReply response;
Expand Down

0 comments on commit c7fac44

Please sign in to comment.