Skip to content

Commit 211b393

Browse files
author
Noëlie Ramuzat
committed
[SotLoader] Remove useless boost::condition_variable cond
Remove useless condition variable which was never used (no call to wait() function) and leads to errors when used with PAL packages.
1 parent 11aec95 commit 211b393

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

src/sot_loader.cpp

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -16,10 +16,6 @@
1616
// POSIX.1-2001
1717
#include <dlfcn.h>
1818

19-
#include <boost/thread/condition.hpp>
20-
21-
boost::condition_variable cond;
22-
2319
using namespace std;
2420
using namespace dynamicgraph::sot;
2521
namespace po = boost::program_options;
@@ -98,7 +94,6 @@ void workThreadLoader(SotLoader *aSotLoader) {
9894
rate.sleep();
9995
}
10096
dataToLog.save("/tmp/geometric_simu");
101-
cond.notify_all();
10297
ros::waitForShutdown();
10398
}
10499

0 commit comments

Comments
 (0)