Skip to content

Commit 00fb861

Browse files
[mlir][transform] Fix typo in TrackingListener
This was an oversight in D147206. The function should not have been made `const` (just like the other `notify...` functions).
1 parent f3a815a commit 00fb861

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

mlir/include/mlir/Dialect/Transform/IR/TransformOps.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ class TrackingListener : public RewriterBase::Listener,
5454
/// replacement op was found. Derived classes can implement this function for
5555
/// custom error handling.
5656
virtual void notifyPayloadReplacementNotFound(Operation *op,
57-
ValueRange values) const {}
57+
ValueRange values) {}
5858

5959
/// Return "true" if the given op is a new op.
6060
bool isNewOp(Operation *op) const;

0 commit comments

Comments
 (0)