Remove unnecessary virtual destructor

coverity_scan^2
Allofich 8 years ago
parent 8c5aae0722
commit 73463cd12f

@ -59,8 +59,6 @@ namespace Compiler
mExprParser (errorHandler, context, locals, literals), mAllowExpression (allowExpression)
{}
LineParser::~LineParser() {}
bool LineParser::parseInt (int value, const TokenLoc& loc, Scanner& scanner)
{
if (mAllowExpression && mState==BeginState)

@ -51,9 +51,6 @@ namespace Compiler
bool allowExpression = false);
///< \param allowExpression Allow lines consisting of a naked expression
/// (result is send to the messagebox interface)
virtual ~LineParser();
///< destructor
virtual bool parseInt (int value, const TokenLoc& loc, Scanner& scanner);
///< Handle an int token.

Loading…
Cancel
Save