Skip to content

Commit

Permalink
Add override keyword to the virtual destructor.
Browse files Browse the repository at this point in the history
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
  • Loading branch information
vgvassilev and github-actions[bot] committed Mar 14, 2024
1 parent 7491209 commit d2df900
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tools/ClangPlugin.h
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit d2df900

Please sign in to comment.