robotology / find-superquadric

Fit a partial point cloud with a superquadric
BSD 3-Clause "New" or "Revised" License
19 stars 4 forks source link

Handle mutexes #5

Closed xEnVrE closed 4 years ago

xEnVrE commented 4 years ago

Right now, the code is not building since the compiler doesn't know how to handle the name mutex (since it can be both the name of the global variable mutex of type yarp::os::Mutex or the class name for std::mutex)

https://github.com/robotology/find-superquadric/blob/75620abc5fdb7a2c43e56648ae895019610ddd59/src/main.cpp#L59

Since yarp::os::Mutex are now deprecated, we should anyway switch to std::mutex.