From 6a1a9f1c7f3c50d04d89cc54e93d08ed6f2c4cc2 Mon Sep 17 00:00:00 2001 From: Renaud G Date: Fri, 8 Jan 2016 20:12:38 +0100 Subject: -Fix cppcheck errors. --- diceparser.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'diceparser.cpp') diff --git a/diceparser.cpp b/diceparser.cpp index 53dc305..86fbc09 100644 --- a/diceparser.cpp +++ b/diceparser.cpp @@ -499,7 +499,7 @@ void DiceParser::getLastDiceResult(ExportedDiceResult& diceValues) result = result->getPrevious(); } } -QString DiceParser::getDiceCommand() +QString DiceParser::getDiceCommand() const { return m_command; } @@ -701,7 +701,6 @@ bool DiceParser::readInstructionOperator(QChar c) return true; } return false; - } bool DiceParser::readOperator(QString& str,ExecutionNode* previous) -- cgit v1.2.3-70-g09d2