]> Creatis software - cpPlugins.git/blobdiff - lib/cpPlugins/Interface/ProcessObjectPort.cxx
MAC compilation issues solved... Now some tests please
[cpPlugins.git] / lib / cpPlugins / Interface / ProcessObjectPort.cxx
index 6dd0282d1b8ed221f7f6504eaf1867a2a5c96e55..d7bbcf4e1b4c5edeed828e4144c3f210fe185f5c 100644 (file)
@@ -65,8 +65,8 @@ cpPlugins::Interface::InputProcessObjectPort::
 Self& cpPlugins::Interface::InputProcessObjectPort::
 operator=( const Superclass& other )
 {
-  auto i = dynamic_cast< const InputProcessObjectPort* >( &other );
   this->Superclass::operator=( other );
+  auto i = dynamic_cast< const InputProcessObjectPort* >( &other );
   if( i != NULL )
     this->m_Required = i->m_Required;
   return( *this );