Skip to content

Commit

Permalink
[mlir][NFC] Avoid a warning (llvm#114052)
Browse files Browse the repository at this point in the history
gcc 14.1 warning: template-id not allowed for destructor in C++20
[-Wtemplate-id-cdtor]
  • Loading branch information
pfusik authored Oct 29, 2024
1 parent ec871cf commit c370869
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mlir/lib/Pass/PassRegistry.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -422,7 +422,7 @@ llvm::cl::OptionValue<OpPassManager>::operator=(
return *this;
}

llvm::cl::OptionValue<OpPassManager>::~OptionValue<OpPassManager>() = default;
llvm::cl::OptionValue<OpPassManager>::~OptionValue() = default;

void llvm::cl::OptionValue<OpPassManager>::setValue(
const OpPassManager &newValue) {
Expand Down

0 comments on commit c370869

Please sign in to comment.