diff options
| author | 2018-08-12 23:54:31 +0200 | |
|---|---|---|
| committer | 2018-08-12 23:54:31 +0200 | |
| commit | acb001bc1909d873a37fbe1c8cbabade76a8015e (patch) | |
| tree | 224a3b06e565bd479cd2dbd1ac7a8cddf317b626 /diceparser.cpp | |
| 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.cpp')
| -rw-r--r-- | diceparser.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/diceparser.cpp b/diceparser.cpp index 1a065b7..41a91e5 100644 --- a/diceparser.cpp +++ b/diceparser.cpp @@ -1330,7 +1330,7 @@ void DiceParser::setPathToHelp(QString l) { m_helpPath = l; } -void DiceParser::setVariableDictionary(QHash<QString,QString>* variables) +void DiceParser::setVariableDictionary(const QHash<QString,QString>& variables) { ParsingToolBox::setVariableHash(variables); } |