Skip to content

Commit

Permalink
refs #3868. cppcheck fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
stuartcampbell committed Dec 21, 2011
1 parent 8377535 commit c89bcbc
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Code/Mantid/Framework/Nexus/src/NexusClasses.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ std::vector<std::string> NXAttributes::names()const
{
std::vector<std::string> out;
std::map<std::string,std::string>::const_iterator it = m_values.begin();
for(;it!=m_values.end();it++)
for(;it!=m_values.end();++it)
out.push_back(it->first);
return out;
}
Expand All @@ -25,7 +25,7 @@ std::vector<std::string> NXAttributes::values()const
{
std::vector<std::string> out;
std::map<std::string,std::string>::const_iterator it = m_values.begin();
for(;it!=m_values.end();it++)
for(;it!=m_values.end();++it)
out.push_back(it->second);
return out;
}
Expand Down Expand Up @@ -310,7 +310,7 @@ bool NXClass::containsGroup(const std::string & query) const
NXInfo NXClass::getDataSetInfo(const std::string& name)const
{
NXInfo info;
for(std::vector<NXInfo>::const_iterator it=datasets().begin();it!=datasets().end();it++)
for(std::vector<NXInfo>::const_iterator it=datasets().begin();it!=datasets().end();++it)
{
if (it->nxname == name) return *it;
}
Expand Down

0 comments on commit c89bcbc

Please sign in to comment.