cosmicrays / hermes

HERMES is a publicly available computational framework for the line of sight integration over galactic radiative processes which creates sky maps in the HEALPix-compatibile format.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

deprecated function in CacheTools

carmeloevoli opened this issue · 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.

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