diff options
| author | 2019-01-05 18:17:17 +0100 | |
|---|---|---|
| committer | 2019-01-05 18:17:17 +0100 | |
| commit | 0fcbfc01baf4dc8fc42fe9a40033be14808c2c7f (patch) | |
| tree | aa3eac1c1d87d49d133a28916d0c49b901af5578 /booleancondition.cpp | |
| parent | 0ead8d42d93ee5d91519f006a84a942109bf4f36 (diff) | |
| download | OneRoll-0fcbfc01baf4dc8fc42fe9a40033be14808c2c7f.tar.gz OneRoll-0fcbfc01baf4dc8fc42fe9a40033be14808c2c7f.zip | |
clazy warnings
Diffstat (limited to 'booleancondition.cpp')
| -rw-r--r-- | booleancondition.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/booleancondition.cpp b/booleancondition.cpp index 8781039..8652e8b 100644 --- a/booleancondition.cpp +++ b/booleancondition.cpp @@ -48,7 +48,7 @@ qint64 BooleanCondition::hasValid(Die* b, bool recursive, bool unhighlight) cons qint64 sum = 0; auto valueScalar = valueToScalar(); - for(qint64 value : listValues) + for(qint64& value : listValues) { switch(m_operator) { @@ -95,7 +95,7 @@ void BooleanCondition::setValueNode(ExecutionNode* v) } QString BooleanCondition::toString() { - QString str(QStringLiteral("")); + QString str(""); switch(m_operator) { case Equal: |