aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/diceparser.h
diff options
context:
space:
mode:
authorRenaud G <renaud@rolisteam.org>2018-08-12 23:54:31 +0200
committerRenaud G <renaud@rolisteam.org>2018-08-12 23:54:31 +0200
commitacb001bc1909d873a37fbe1c8cbabade76a8015e (patch)
tree224a3b06e565bd479cd2dbd1ac7a8cddf317b626 /diceparser.h
parent0490332a1e85458059aa761c7a0769fe2fe985c7 (diff)
downloadOneRoll-acb001bc1909d873a37fbe1c8cbabade76a8015e.tar.gz
OneRoll-acb001bc1909d873a37fbe1c8cbabade76a8015e.zip
Change management of variable (ref instead of pointer)
using static is a bad idea as more and more diceparser are now use in rolisteam.
Diffstat (limited to 'diceparser.h')
-rw-r--r--diceparser.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/diceparser.h b/diceparser.h
index ad831cf..2ede553 100644
--- a/diceparser.h
+++ b/diceparser.h
@@ -213,7 +213,7 @@ public:
* @brief setVariableDictionary
* @param variables
*/
- void setVariableDictionary(QHash<QString,QString>* variables);
+ void setVariableDictionary(const QHash<QString, QString> &variables);
QString getComment() const;
void setComment(const QString &comment);