Skip to content

Commit 88a8b2e

Browse files
committed
fix: use passed in callback as intended
1 parent 6ee01e1 commit 88a8b2e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

include/ext/util/scoped_timer.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -148,7 +148,7 @@ class scoped_timer {
148148
}
149149

150150
auto rv = calculate();
151-
callback(rv);
151+
cb(rv);
152152
return rv;
153153
}
154154

0 commit comments

Comments
 (0)