diff --git a/passes/proc/proc_dff.cc b/passes/proc/proc_dff.cc index 71e4f8e53..d375bf552 100644 --- a/passes/proc/proc_dff.cc +++ b/passes/proc/proc_dff.cc @@ -411,7 +411,7 @@ private: // from the function as the LSB. This function also returns the value // calculated for the LSB. template - typename std::result_of::type shrink_while_matching_values(F f) { + typename std::invoke_result_t shrink_while_matching_values(F f) { const auto base_val = f(0); size_t new_size;