From 55958fa78624b1bd9c713482337090beb106f8ba Mon Sep 17 00:00:00 2001 From: Renaud G Date: Sun, 9 Dec 2018 14:37:57 +0100 Subject: Fix issue on command like this: ((3+4)*2)d6 readOperator method now use ref on pointer (as all the others). To be TESTED --- diceparser.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'diceparser.h') 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 -- cgit v1.2.3-70-g09d2