Skip to content
Snippets Groups Projects
Commit f9273bd3 authored by Campbell, Stuart's avatar Campbell, Stuart
Browse files

Prefer prefix ++/-- operators for non-primitive types. refs #3868

parent 129b3c1d
No related merge requests found
......@@ -60,7 +60,7 @@ namespace Mantid
std::map<std::string, std::string> entries = file->getEntries();
bool hasEvents = false;
std::map<std::string, std::string>::iterator it;
for (it = entries.begin(); it != entries.end(); it++)
for (it = entries.begin(); it != entries.end(); ++it)
{
if (it->first.find("_events") != std::string::npos)
{
......
......@@ -243,7 +243,7 @@ namespace Mantid
if (i == m_dimensions.end())
break;
matches.push_back(*i);
i++;
++i;
}
return matches;
}
......@@ -263,7 +263,7 @@ namespace Mantid
if (i == m_dimensions.end())
break;
matches.push_back(*i);
i++;
++i;
}
return matches;
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment