Skip to content

Commit 076e238

Browse files
[mlir][IR] SingleBlockImplicitTerminator derives from TraitBase (#66189)
This was an oversight in 0ac21e6.
1 parent e6b85c3 commit 076e238

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

mlir/include/mlir/IR/OpDefinition.h

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -944,7 +944,8 @@ struct SingleBlock : public TraitBase<ConcreteType, SingleBlock> {
944944
template <typename TerminatorOpType>
945945
struct SingleBlockImplicitTerminator {
946946
template <typename ConcreteType>
947-
class Impl {
947+
class Impl : public TraitBase<ConcreteType, SingleBlockImplicitTerminator<
948+
TerminatorOpType>::Impl> {
948949
private:
949950
/// Builds a terminator operation without relying on OpBuilder APIs to avoid
950951
/// cyclic header inclusion.

0 commit comments

Comments
 (0)