Skip to content

Commit

Permalink
Refs #11749 Don't risk touching someone elses pmap
Browse files Browse the repository at this point in the history
  • Loading branch information
Harry Jeffery committed May 14, 2015
1 parent 139cf95 commit 54af10a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Code/Mantid/Framework/API/src/ExperimentInfo.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,7 @@ void ExperimentInfo::setInstrument(const Instrument_const_sptr &instr) {
m_parmap = instr->getParameterMap();
} else {
sptr_instrument = instr;
m_parmap->clear();
m_parmap.reset(new ParameterMap());
}
}

Expand Down

0 comments on commit 54af10a

Please sign in to comment.