Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/bugfix/9839_history_clear_props'
Browse files Browse the repository at this point in the history
  • Loading branch information
NickDraper committed Jul 9, 2014
2 parents 000f81b + e627969 commit d395af5
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions Code/Mantid/Framework/API/src/AlgorithmHistory.cpp
Expand Up @@ -65,6 +65,8 @@ AlgorithmHistory::AlgorithmHistory(const std::string& name, int vers, const Kern
*/
void AlgorithmHistory::setProperties(const Algorithm* const alg)
{
//overwrite any existing properties
m_properties.clear();
// Now go through the algorithm's properties and create the PropertyHistory objects.
const std::vector<Property*>& properties = alg->getProperties();
std::vector<Property*>::const_iterator it;
Expand Down

0 comments on commit d395af5

Please sign in to comment.