aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/diceparser.h
diff options
context:
space:
mode:
authorRenaud G <renaud@rolisteam.org>2015-04-08 21:34:02 +0200
committerRenaud G <renaud@rolisteam.org>2015-04-08 21:34:02 +0200
commit5cfe48265ebad0ffa0a980dbc2d131fceeecdf3b (patch)
tree0d8d654046e18ad90a7a06e00e0e56c375a230fd /diceparser.h
parent9192ba51a362715061cce1104b5543f7e93bf70f (diff)
downloadOneRoll-5cfe48265ebad0ffa0a980dbc2d131fceeecdf3b.tar.gz
OneRoll-5cfe48265ebad0ffa0a980dbc2d131fceeecdf3b.zip
-remove memory leaks
-delete created objects
Diffstat (limited to 'diceparser.h')
-rw-r--r--diceparser.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/diceparser.h b/diceparser.h
index 7ec09ee..1636fc9 100644
--- a/diceparser.h
+++ b/diceparser.h
@@ -83,6 +83,10 @@ public:
* @brief DiceParser default constructor
*/
DiceParser();
+ /**
+ * @brief ~DiceParser
+ */
+ virtual ~DiceParser();
/**
* @brief parseLine, method to call for starting the dice roll. It will parse the command and run the execution tree.