aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/diceparser.cpp
diff options
context:
space:
mode:
authorRenaud G <renaud@rolisteam.org>2016-01-08 20:12:38 +0100
committerRenaud G <renaud@rolisteam.org>2016-01-08 20:12:38 +0100
commit6a1a9f1c7f3c50d04d89cc54e93d08ed6f2c4cc2 (patch)
tree0ef85b5cab3bb3bf39a1a9e89b4b887d117f6ab7 /diceparser.cpp
parent5cd822edaeebae07450ae3735bd2aaf7a4d28103 (diff)
downloadOneRoll-6a1a9f1c7f3c50d04d89cc54e93d08ed6f2c4cc2.tar.gz
OneRoll-6a1a9f1c7f3c50d04d89cc54e93d08ed6f2c4cc2.zip
-Fix cppcheck errors.
Diffstat (limited to 'diceparser.cpp')
-rw-r--r--diceparser.cpp3
1 files changed, 1 insertions, 2 deletions
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)