Skip to content

Commit

Permalink
Refs #4473. Compiler warnings.
Browse files Browse the repository at this point in the history
  • Loading branch information
peterfpeterson committed May 2, 2012
1 parent aa3dd5a commit 9c9b89d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Code/Mantid/MantidPlot/src/Mantid/MantidUI.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1386,7 +1386,7 @@ QString MantidUI::findInputWorkspaceProperty(Mantid::API::IAlgorithm_sptr algori
//Iterate through the properties and find the first input one
std::vector<Mantid::Kernel::Property*> props = algorithm->getProperties();
std::vector<Mantid::Kernel::Property*>::const_iterator pend = props.end();
for(std::vector<Mantid::Kernel::Property*>::const_iterator pitr = props.begin(); pitr != props.end(); ++pitr)
for(std::vector<Mantid::Kernel::Property*>::const_iterator pitr = props.begin(); pitr != pend; ++pitr)
{
Mantid::Kernel::Property *base_prop = *pitr;
const Mantid::API::IWorkspaceProperty *ws_prop = dynamic_cast<Mantid::API::IWorkspaceProperty*>(base_prop);
Expand Down

0 comments on commit 9c9b89d

Please sign in to comment.