We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9d0923e commit cfc9a91Copy full SHA for cfc9a91
src/lead_lag.cpp
@@ -39,7 +39,6 @@
39
40
#include <control_toolbox/lead_lag.h>
41
#include <tinyxml.h>
42
-#include <boost/thread/lock_guard.hpp>
43
44
using namespace control_toolbox;
45
@@ -199,7 +198,7 @@ void LeadLag::updateDynamicReconfig(control_toolbox::LeadLagConfig config) {
199
198
200
// Set starting values, using a shared mutex with dynamic reconfig
201
{
202
- boost::lock_guard<boost::recursive_mutex> lock(lead_lag_reconfig_mutex_);
+ boost::recursive_mutex::scoped_lock lock(lead_lag_reconfig_mutex_);
203
lead_lag_reconfig_server_->updateConfig(config);
204
}
205
0 commit comments