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

fix: include missing <functional> header #68

Merged
merged 1 commit into from
Apr 1, 2023

Conversation

hsynydn
Copy link
Contributor

@hsynydn hsynydn commented Apr 1, 2023

I was getting compilation error, due to the missing header which says

error: ‘plus’ is not a member of ‘std’
error: ‘minus’ is not a member of ‘std’

These function objects are defined in header <functional> since C++-14.
So I included this header.

This PR is also related with issue #50

@pageldev pageldev merged commit 3618492 into pageldev:master Apr 1, 2023
@pageldev
Copy link
Owner

pageldev commented Apr 1, 2023

Thanks for catching this! It didn't pop up compiling on Ubuntu 20 or MacOS

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