diff --git a/mlir/include/mlir/IR/DialectRegistry.h b/mlir/include/mlir/IR/DialectRegistry.h index 064c63d9ad56..fbc81b0f0449 100644 --- a/mlir/include/mlir/IR/DialectRegistry.h +++ b/mlir/include/mlir/IR/DialectRegistry.h @@ -176,7 +176,7 @@ public: template void addExtensions() { (void)std::initializer_list{ - addExtension(std::make_unique())...}; + (addExtension(std::make_unique()), 0)...}; } /// Add an extension function that requires the given dialects.