Salome HOME
Fix for bug PAL78476: when out-port is added to study, it must try to put its value...
[modules/superv.git] / src / GraphBase / DataFlowBase_InPort.hxx
index 467f360a0001bae2b5a0d4a09ff615931d4c569c..5716725c62bac8a5152e3564eb826741111c9c92 100644 (file)
@@ -81,12 +81,7 @@ namespace GraphBase {
              return false ;
            _OutPort = anOutPort ;
            return true ; } ;
-      bool ChangeOutPort( OutPort * anOutPort ) {
-           if ( _InitialOutPort == NULL ) {
-             _InitialOutPort = _OutPort ;
-          }
-           _OutPort = anOutPort ;
-           return true ; } ;
+      bool ChangeOutPort( OutPort * anOutPort ) ;
       bool InitialOutPort() {
            if ( _InitialOutPort ) {
              _OutPort = _InitialOutPort ;