Skip to content

Commit 8447c12

Browse files
committed
switch to function_ref
1 parent 3430a36 commit 8447c12

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

mlir/include/mlir/Interfaces/LoopLikeInterface.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -61,8 +61,8 @@ namespace mlir {
6161
/// A function that rewrites `target`'s terminator as a teminator obtained by
6262
/// fusing `source` into `target`.
6363
using FuseTerminatorFn =
64-
std::function<void(RewriterBase &rewriter, LoopLikeOpInterface source,
65-
LoopLikeOpInterface &target, IRMapping mapping)>;
64+
function_ref<void(RewriterBase &rewriter, LoopLikeOpInterface source,
65+
LoopLikeOpInterface &target, IRMapping mapping)>;
6666

6767
/// Returns a fused `LoopLikeOpInterface` created by fusing `source` to
6868
/// `target`. The `NewYieldValuesFn` callback is used to pass to the

0 commit comments

Comments
 (0)