diff --git a/lldb/source/Plugins/SymbolFile/NativePDB/PdbFPOProgramToDWARFExpression.cpp b/lldb/source/Plugins/SymbolFile/NativePDB/PdbFPOProgramToDWARFExpression.cpp index a1f417516b0c..3f6a98008ef7 100644 --- a/lldb/source/Plugins/SymbolFile/NativePDB/PdbFPOProgramToDWARFExpression.cpp +++ b/lldb/source/Plugins/SymbolFile/NativePDB/PdbFPOProgramToDWARFExpression.cpp @@ -160,6 +160,8 @@ private: template class FPOProgramASTVisitor { protected: + virtual ~FPOProgramASTVisitor() = default; + virtual ResultT Visit(FPOProgramNodeBinaryOp &binary, FPOProgramNode *&ref) = 0; virtual ResultT Visit(FPOProgramNodeUnaryOp &unary, FPOProgramNode *&ref) = 0;