Skip to content

Commit ce0695e

Browse files
committed
proc_dff: use invoke_result_t instead of result_of
1 parent a740af1 commit ce0695e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

passes/proc/proc_dff.cc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -411,7 +411,7 @@ class Dff {
411411
// from the function as the LSB. This function also returns the value
412412
// calculated for the LSB.
413413
template <typename F>
414-
typename std::result_of<F(size_t)>::type shrink_while_matching_values(F f) {
414+
typename std::invoke_result_t<F, size_t> shrink_while_matching_values(F f) {
415415
const auto base_val = f(0);
416416

417417
size_t new_size;

0 commit comments

Comments
 (0)