Skip to content

Commit c370869

Browse files
authored
[mlir][NFC] Avoid a warning (#114052)
gcc 14.1 warning: template-id not allowed for destructor in C++20 [-Wtemplate-id-cdtor]
1 parent ec871cf commit c370869

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

mlir/lib/Pass/PassRegistry.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -422,7 +422,7 @@ llvm::cl::OptionValue<OpPassManager>::operator=(
422422
return *this;
423423
}
424424

425-
llvm::cl::OptionValue<OpPassManager>::~OptionValue<OpPassManager>() = default;
425+
llvm::cl::OptionValue<OpPassManager>::~OptionValue() = default;
426426

427427
void llvm::cl::OptionValue<OpPassManager>::setValue(
428428
const OpPassManager &newValue) {

0 commit comments

Comments
 (0)