[mlir][transform] Fix typo in TrackingListener
authorMatthias Springer <me@m-sp.org>
Thu, 30 Mar 2023 10:08:20 +0000 (12:08 +0200)
committerMatthias Springer <me@m-sp.org>
Thu, 30 Mar 2023 10:09:36 +0000 (12:09 +0200)
This was an oversight in D147206. The function should not have been made
`const` (just like the other `notify...` functions).

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

index eb55f7f..0443e3a 100644 (file)
@@ -54,7 +54,7 @@ protected:
   /// replacement op was found. Derived classes can implement this function for
   /// custom error handling.
   virtual void notifyPayloadReplacementNotFound(Operation *op,
-                                                ValueRange values) const {}
+                                                ValueRange values) {}
 
   /// Return "true" if the given op is a new op.
   bool isNewOp(Operation *op) const;