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

Remove obsolete unary and binary functions. #263

Merged
merged 1 commit into from
Apr 8, 2023

Conversation

mzf-guest
Copy link
Contributor

The unary_function and binary_function are deprecated since C++11 and removed in C++17 according to https://en.cppreference.com/w/cpp/utility/functional/unary_function

Building with gcc 12 triggers lots of warnings on stderr when building Debian package auto-tests: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1033702

This Pull Request removes these functions and adds the appropriate using to keep compatibility.

@prj-
Copy link
Member

prj- commented Apr 8, 2023

Thanks!

@prj- prj- merged commit def2599 into FreeFem:develop Apr 8, 2023
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