From d2df9008e071f7f78d1606a040b21149ade66eea Mon Sep 17 00:00:00 2001 From: Vassil Vassilev Date: Thu, 14 Mar 2024 17:58:30 +0200 Subject: [PATCH] Add override keyword to the virtual destructor. Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> --- tools/ClangPlugin.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/ClangPlugin.h b/tools/ClangPlugin.h index a1f9e3cc6..c152a0482 100644 --- a/tools/ClangPlugin.h +++ b/tools/ClangPlugin.h @@ -185,7 +185,7 @@ namespace clad { public: CladPlugin(clang::CompilerInstance& CI, DifferentiationOptions& DO); - ~CladPlugin(); + ~CladPlugin() override; // ASTConsumer void Initialize(clang::ASTContext& Context) override; void HandleCXXStaticMemberVarInstantiation(clang::VarDecl* D) override {