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 fa814ca commit 9811c77
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion Code/Mantid/MantidPlot/src/ConfigDialog.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -953,7 +953,7 @@ void ConfigDialog::refreshTreeCategories()

QMap<QString,QTreeWidgetItem*> categories;// keeps track of categories added to the tree

for(categoriesType::const_iterator i=categoryMap.begin();i!=categoryMap.end();i++)
for(categoriesType::const_iterator i=categoryMap.begin();i!=categoryMap.end();++i)
{
QString catName = QString::fromStdString(i->first);
bool isHidden = i->second;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ GLActorCollection::GLActorCollection()

GLActorCollection::~GLActorCollection()
{
for(std::vector<GLActor*>::iterator i=mActorsList.begin();i!=mActorsList.end();i++)
for(std::vector<GLActor*>::iterator i=mActorsList.begin();i!=mActorsList.end();++i)
{
delete (*i);
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -200,7 +200,7 @@ int RectangularDetectorActor::genTexture(char * & image_data, std::vector<GLColo
//Get the current color
list_it->get(r,g,b);
//Go to the next color
list_it++;
++list_it;
}

// //TEMP: way to show the colors
Expand Down

0 comments on commit 9811c77

Please sign in to comment.