Merge pull request #1033 from Allofich/warnings

Remove unnecessary destructor
pull/43/head
scrawl 8 years ago committed by GitHub
commit c968ebee96

@ -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