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

deprecated function in CacheTools #36

Open
carmeloevoli opened this issue Feb 6, 2023 · 1 comment
Open

deprecated function in CacheTools #36

carmeloevoli opened this issue Feb 6, 2023 · 1 comment
Labels
enhancement New feature or request

Comments

@carmeloevoli
Copy link
Member

CacheTools.h:30:32: warning: 'template<class _Arg, class _Result> struct std::unary_function' is deprecated [-Wdeprecated-declarations]

CacheTools.h:40:33: warning: 'template<class _Arg1, class _Arg2, class _Result> struct std::binary_function' is deprecated [-Wdeprecated-declarations]

warning found both for Mac and GNU compliers, we should find an alternative at some point.

@carmeloevoli carmeloevoli added the enhancement New feature or request label Feb 6, 2023
@adundovi
Copy link
Contributor

adundovi commented Feb 7, 2023

These can be simply removed [1] and the code will continue to work in C++17.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants