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

Include required header for std::function #142

Merged
merged 1 commit into from Feb 1, 2017
Merged

Include required header for std::function #142

merged 1 commit into from Feb 1, 2017

Conversation

jwakely
Copy link

@jwakely jwakely commented Jan 30, 2017

This fixes a build failure with the upcoming GCC 7, because <functional> is no longer included implicitly by other headers.

@jwakely
Copy link
Author

jwakely commented Jan 30, 2017

Specifically, <memory> no longer includes <functional> so you need to include it explicitly (which was always needed to be portable, but you got away with it until now).

@nickbnf nickbnf merged commit fdcf994 into nickbnf:master Feb 1, 2017
@nickbnf
Copy link
Owner

nickbnf commented Feb 1, 2017

Thanks!

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.

None yet

2 participants