aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/parsingtoolbox.cpp
diff options
context:
space:
mode:
authorRenaud G <renaud@rolisteam.org>2016-03-24 22:21:57 +0100
committerRenaud G <renaud@rolisteam.org>2016-03-24 22:21:57 +0100
commit7d9f1e52c18b8f63e7b511bcd28e4fd4e9f0c5a7 (patch)
treedac3f541f6a3c2fe0f62ce8fd96ab63eae5f3dea /parsingtoolbox.cpp
parentd466a529fe2ed5c09c2353c67c82df5c83d831cf (diff)
downloadOneRoll-7d9f1e52c18b8f63e7b511bcd28e4fd4e9f0c5a7.tar.gz
OneRoll-7d9f1e52c18b8f63e7b511bcd28e4fd4e9f0c5a7.zip
fix c++11 code
Diffstat (limited to 'parsingtoolbox.cpp')
-rw-r--r--parsingtoolbox.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/parsingtoolbox.cpp b/parsingtoolbox.cpp
index 1c9dc90..00dfe81 100644
--- a/parsingtoolbox.cpp
+++ b/parsingtoolbox.cpp
@@ -100,8 +100,8 @@ bool ParsingToolBox::readArithmeticOperator(QString &str, ScalarOperatorNode::Ar
{
bool found = false;
//QHash<QString,ScalarOperatorNode::ArithmeticOperator>::Iterator
- auto i = m_arithmeticOperation->begin();
- for(; i !=m_arithmeticOperation->end() && !found; ++i)
+
+ for(auto i = m_arithmeticOperation->begin() ; i !=m_arithmeticOperation->end() && !found; ++i)
{
if(str.startsWith(i.key()))
{