aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/diceparser.h
diff options
context:
space:
mode:
authorRenaud G <renaud@rolisteam.org>2014-01-25 11:00:59 +0100
committerRenaud G <renaud@rolisteam.org>2014-01-25 11:00:59 +0100
commit26d5968dd89ad138b1d51f88cd02e2aa633f410d (patch)
treeda4d7928e6716791fd54797d38c9924a738f2cce /diceparser.h
parentc94b46d51c6f5e7099915b4b39b89e53dc94bdc0 (diff)
downloadOneRoll-26d5968dd89ad138b1d51f88cd02e2aa633f410d.tar.gz
OneRoll-26d5968dd89ad138b1d51f88cd02e2aa633f410d.zip
correct compilation error
Diffstat (limited to 'diceparser.h')
-rw-r--r--diceparser.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/diceparser.h b/diceparser.h
index 6e99bcd..bcc4d81 100644
--- a/diceparser.h
+++ b/diceparser.h
@@ -79,7 +79,7 @@ private:
* @param str
* @return
*/
- bool readDice(QString& str,Dice&);
+ bool readDice(QString& str,ExecutionNode* & node);
/**
* @brief readDiceOperator
* @return
@@ -109,6 +109,8 @@ private:
DiceRollerNode* addRollDiceNode(qint64 faces,ExecutionNode*);
+ bool readOperand(QString&,ExecutionNode* & node);
+
private:
QMap<QString,DiceOperator>* m_mapDiceOp;
QMap<QString,OptionOperator>* m_OptionOp;