From 0fcbfc01baf4dc8fc42fe9a40033be14808c2c7f Mon Sep 17 00:00:00 2001 From: Renaud G Date: Sat, 5 Jan 2019 18:17:17 +0100 Subject: clazy warnings --- booleancondition.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'booleancondition.cpp') 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: -- cgit v1.2.3-70-g09d2