Commit 7ba0718f authored by Floris Berendsen's avatar Floris Berendsen
Browse files

COMP: gcc complained on initializing non-const reference

parent eaa17536
......@@ -241,8 +241,9 @@ ItkImageRegistrationMethodv4Component< Dimensionality, TPixel >::RunRegistration
if( this->m_TransformAdaptorsContainerInterface != nullptr )
{
this->m_theItkFilter->SetTransformParametersAdaptorsPerLevel(
this->m_TransformAdaptorsContainerInterface->GetItkTransformParametersAdaptorsContainer() );
auto adaptors = this->m_TransformAdaptorsContainerInterface->GetItkTransformParametersAdaptorsContainer();
this->m_theItkFilter->SetTransformParametersAdaptorsPerLevel( adaptors
);
}
typedef CommandIterationUpdate< TheItkFilterType > RegistrationCommandType;
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment