actionlib icon indicating copy to clipboard operation
actionlib copied to clipboard

Improve const-ness of server classes.

Open RobertBlakeAnderson opened this issue 8 years ago • 2 comments

Rebased fork to re-attempt #73

RobertBlakeAnderson avatar Mar 22 '17 15:03 RobertBlakeAnderson

Looks like the checks are failing due to an issue with boost: no matching function for call to ‘boost::unique_lock<boost::recursive_mutex>::unique_lock(const boost::recursive_mutex&)’ boost::recursive_mutex::scoped_lock lock(this->lock_);

Not sure what the issue is here.

RobertBlakeAnderson avatar Apr 14 '17 20:04 RobertBlakeAnderson

You cannot lock a mutex in a const function. You should change the recursive mutex to mutable to fix the compilation issue.

progtologist avatar Feb 05 '18 11:02 progtologist