From c370869cd6f66e3c2ab33528e44959279311e499 Mon Sep 17 00:00:00 2001
From: Piotr Fusik
Date: Tue, 29 Oct 2024 15:01:37 +0100
Subject: [PATCH] [mlir][NFC] Avoid a warning (#114052)
gcc 14.1 warning: template-id not allowed for destructor in C++20
[-Wtemplate-id-cdtor]
---
mlir/lib/Pass/PassRegistry.cpp | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/mlir/lib/Pass/PassRegistry.cpp b/mlir/lib/Pass/PassRegistry.cpp
index fe842755958418..029512fd3ecc11 100644
--- a/mlir/lib/Pass/PassRegistry.cpp
+++ b/mlir/lib/Pass/PassRegistry.cpp
@@ -422,7 +422,7 @@ llvm::cl::OptionValue::operator=(
return *this;
}
-llvm::cl::OptionValue::~OptionValue() = default;
+llvm::cl::OptionValue::~OptionValue() = default;
void llvm::cl::OptionValue::setValue(
const OpPassManager &newValue) {