From 7d9f1e52c18b8f63e7b511bcd28e4fd4e9f0c5a7 Mon Sep 17 00:00:00 2001 From: Renaud G Date: Thu, 24 Mar 2016 22:21:57 +0100 Subject: fix c++11 code --- parsingtoolbox.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'parsingtoolbox.cpp') 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::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())) { -- cgit v1.2.3-70-g09d2