Skip to content

Commit ebe25d8

Browse files
authored
[MLIR] Add missing move constructor / assignment operator to DialectRegistry (#141915)
Fix after #140963
1 parent 2a8495c commit ebe25d8

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

mlir/include/mlir/IR/DialectRegistry.h

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -145,6 +145,8 @@ class DialectRegistry {
145145
explicit DialectRegistry();
146146
DialectRegistry(const DialectRegistry &) = delete;
147147
DialectRegistry &operator=(const DialectRegistry &other) = delete;
148+
DialectRegistry(DialectRegistry &&) = default;
149+
DialectRegistry &operator=(DialectRegistry &&other) = default;
148150

149151
template <typename ConcreteDialect>
150152
void insert() {

0 commit comments

Comments
 (0)