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)

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