hermes icon indicating copy to clipboard operation
hermes copied to clipboard

deprecated function in CacheTools

Open carmeloevoli opened this issue 3 years ago • 1 comments

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 avatar Feb 06 '23 13:02 carmeloevoli

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

adundovi avatar Feb 07 '23 07:02 adundovi