Closed mzf-guest closed 1 year ago
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.
using
Thanks!
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.