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

set_exception() should be a const member. #260

Closed
sean-parent opened this issue May 30, 2019 · 1 comment
Closed

set_exception() should be a const member. #260

sean-parent opened this issue May 30, 2019 · 1 comment
Assignees

Comments

@sean-parent
Copy link
Member

The invoke operator on packaged_task<> is not const, where the call operator is. The result is you bind a packaged_task to a lambda expression, the lambda must be mutable.

@FelixPetriconi FelixPetriconi self-assigned this Jun 16, 2019
FelixPetriconi added a commit to FelixPetriconi/libraries that referenced this issue Jun 16, 2019
FelixPetriconi added a commit that referenced this issue Jun 16, 2019
@FelixPetriconi
Copy link
Member

Fixed in 1.5.0

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

No branches or pull requests

2 participants