From 56fb8ea62c79297b45f55a22deb64aa0e9871083 Mon Sep 17 00:00:00 2001 From: Silvio Traversaro Date: Wed, 18 Sep 2024 09:59:10 +0200 Subject: [PATCH] Update MaisSensorDriver.h --- plugins/maissensor/include/yarp/dev/MaisSensorDriver.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/maissensor/include/yarp/dev/MaisSensorDriver.h b/plugins/maissensor/include/yarp/dev/MaisSensorDriver.h index e71414855..61b842230 100644 --- a/plugins/maissensor/include/yarp/dev/MaisSensorDriver.h +++ b/plugins/maissensor/include/yarp/dev/MaisSensorDriver.h @@ -122,7 +122,7 @@ class yarp::dev::GazeboYarpMaisSensorDriver: yarp::os::Stamp m_lastTimestamp; /**< timestamp, updated with simulation time at each onUpdate call */ - std::mutex m_mutex; + mutable std::mutex m_mutex; yarp::sig::VectorOf m_jointTypes; int m_channels_num;