diff --git a/3rdparty/nod/nod.hpp b/3rdparty/nod/nod.hpp index 5c4a93cb85..4cc18fe1b8 100644 --- a/3rdparty/nod/nod.hpp +++ b/3rdparty/nod/nod.hpp @@ -269,7 +269,11 @@ namespace nod { { public: /// Result type when calling the accumulating function operator. +#if __cplusplus >= 201703L + using result_type = typename std::invoke_result::type; +#else using result_type = typename std::result_of::type; +#endif /// Construct a signal_accumulator as a proxy to a given signal //