Skip to content

Commit

Permalink
refs #6881 A bit less shared pointers.
Browse files Browse the repository at this point in the history
  • Loading branch information
abuts committed Apr 8, 2013
1 parent ce1cad8 commit 8edea31
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions Code/Mantid/Framework/MDAlgorithms/src/MergeMD.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -176,8 +176,7 @@ namespace MDAlgorithms

for (uint16_t i=0; i < nExperiments; i++)
{
IMDEventWorkspace_const_sptr ws = m_workspaces[i];
API::ExperimentInfo_sptr ei = API::ExperimentInfo_sptr(ws->getExperimentInfo(i)->cloneExperimentInfo());
API::ExperimentInfo_sptr ei = API::ExperimentInfo_sptr(m_workspaces[i]->getExperimentInfo(i)->cloneExperimentInfo());
out->addExperimentInfo(ei);
}

Expand Down

0 comments on commit 8edea31

Please sign in to comment.