Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improve const-ness of server classes. #74

Open
wants to merge 2 commits into
base: indigo-devel
Choose a base branch
from

Conversation

RobertBlakeAnderson
Copy link
Contributor

Rebased fork to re-attempt #73

@RobertBlakeAnderson
Copy link
Contributor Author

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.

@progtologist
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants