diff options
| author | 2018-12-09 14:37:57 +0100 | |
|---|---|---|
| committer | 2018-12-09 14:37:57 +0100 | |
| commit | 55958fa78624b1bd9c713482337090beb106f8ba (patch) | |
| tree | 4477e29900708700e6864792bbce88168d39d18f /diceparser.h | |
| parent | 3109e5e63c01607545cd9f22e375cd7b4f245b85 (diff) | |
| download | OneRoll-55958fa78624b1bd9c713482337090beb106f8ba.tar.gz OneRoll-55958fa78624b1bd9c713482337090beb106f8ba.zip | |
Fix issue on command like this: ((3+4)*2)d6
readOperator method now use ref on pointer (as all the others).
To be TESTED
Diffstat (limited to 'diceparser.h')
| -rw-r--r-- | diceparser.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/diceparser.h b/diceparser.h index 3d5ba8f..be0dacd 100644 --- a/diceparser.h +++ b/diceparser.h @@ -245,7 +245,7 @@ private: * @brief readOperator * @return */ - bool readOperator(QString&,ExecutionNode* previous); + bool readOperator(QString&, ExecutionNode *&nodeResult); /** * @brief DiceParser::readCommand * @param str |