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)

@ -52,9 +52,6 @@ namespace Compiler
///< \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.
/// \return fetch another token?

Loading…
Cancel
Save