From c7fac441a183978fa4385ed5234ec8eb4032fc74 Mon Sep 17 00:00:00 2001 From: Teo Mrnjavac Date: Fri, 10 Nov 2023 14:58:52 +0100 Subject: [PATCH] [occ] Fix broken build --- occ/plugin/OccPluginServer.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/occ/plugin/OccPluginServer.cxx b/occ/plugin/OccPluginServer.cxx index 99814662..3f96a0c2 100644 --- a/occ/plugin/OccPluginServer.cxx +++ b/occ/plugin/OccPluginServer.cxx @@ -63,7 +63,7 @@ OccPluginServer::EventStream(grpc::ServerContext* context, auto onDeviceStateChange = [&](fair::mq::PluginServices::DeviceState reachedState) { std::lock_guard lock(writer_mu); auto state = fair::mq::PluginServices::ToStr(reachedState); - last_known_state = state + last_known_state = state; OLOG(debug) << "[EventStream] new state: " << state; @@ -115,7 +115,7 @@ OccPluginServer::StateStream(grpc::ServerContext* context, auto onDeviceStateChange = [&](fair::mq::PluginServices::DeviceState reachedState) { std::lock_guard 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;