Skip to content

Commit 6318dd8

Browse files
[mlir] Fix a warning
This patch fixes: mlir/lib/Pass/PassRegistry.cpp:376:37: error: ISO C++ requires the name after '::~' to be found in the same scope as the name before '::~' [-Werror,-Wdtor-name]
1 parent 7716768 commit 6318dd8

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
@@ -373,7 +373,7 @@ llvm::cl::OptionValue<OpPassManager>::operator=(
373373
return *this;
374374
}
375375

376-
llvm::cl::OptionValue<OpPassManager>::~OptionValue() = default;
376+
llvm::cl::OptionValue<OpPassManager>::~OptionValue<OpPassManager>() = default;
377377

378378
void llvm::cl::OptionValue<OpPassManager>::setValue(
379379
const OpPassManager &newValue) {

0 commit comments

Comments
 (0)