Skip to content

Commit

Permalink
refs #3641 fix GCC issue.
Browse files Browse the repository at this point in the history
  • Loading branch information
OwenArnold committed Nov 7, 2011
1 parent d4bd24c commit 2b38601
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,8 @@ void CreateMDWorkspace::addWorkspaceClicked()
m_data->registerWorkspace(matrixWS, m_model);

// Key off the selected index. --------------------------------------------
m_memento = m_data->at(0); //TODO. Key properly!
LoanedMemento temp = m_data->at(0);
m_memento.operator=(temp);
/*
Note: there is an issue to resolve here. I think that the workspacecollection should pass out a reference to the LoanedMemento!
Problem at the moment is:
Expand Down

0 comments on commit 2b38601

Please sign in to comment.