Skip to content

Conversation

@tstenner
Copy link
Collaborator

Our oldest compiler (RHEL 5, GCC 4.7 for manylinux1) only has full support for C++11, but partial support for lambda initializers (e.g. [shared_this = shared_from_this()]() { shared_this->do_cancel(); }) so we should use it. Also avoid implicit this in closures when we have a shared_ptr pointing to the object.

…lizers (already supported in manylinux1's GCC 4.7)
@tstenner
Copy link
Collaborator Author

Note: the CI for my repository also runs dockerized manylinux1 and manylinux2010 builds and both are succeeding.

@tstenner tstenner merged commit 7088273 into sccn:master Mar 30, 2020
@tstenner tstenner deleted the lambdainit branch March 30, 2020 10:45
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.

1 participant