diff options
| author | 2018-08-12 23:54:31 +0200 | |
|---|---|---|
| committer | 2018-08-12 23:54:31 +0200 | |
| commit | acb001bc1909d873a37fbe1c8cbabade76a8015e (patch) | |
| tree | 224a3b06e565bd479cd2dbd1ac7a8cddf317b626 /diceparser.h | |
| parent | 0490332a1e85458059aa761c7a0769fe2fe985c7 (diff) | |
| download | OneRoll-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.h | 2 |
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); |