]> SALOME platform Git repositories - modules/superv.git/commitdiff
Salome HOME
omniORB-3.0.5 has CORBA::Any::to_object(...).
authormkr <mkr@opencascade.com>
Mon, 24 Oct 2005 12:25:53 +0000 (12:25 +0000)
committermkr <mkr@opencascade.com>
Mon, 24 Oct 2005 12:25:53 +0000 (12:25 +0000)
src/GraphExecutor/DataFlowExecutor_PyDynInvoke.cxx

index 01ab367b23162bbbc88d9f72be2a38e96548bc05..48e114556721bd2fb2548b86ab5e27c263bfc84f 100644 (file)
@@ -358,11 +358,7 @@ bool GraphExecutor::InNode::PyDynInvoke( PyObject * MyPyRunMethod ,
       case CORBA::tk_objref : {
         //MyPyObjRefList = PyTuple_New( 1 ) ;
         //PyObject * ObjValue ;
-#if OMNIORB_VERSION >= 4
         data >>= (CORBA::Any::to_object ) ObjRef ;
-#else
-        data >>= ObjRef ;
-#endif
         IORObjRef = ObjectToString( ObjRef ) ;
         //ObjValue = Py_BuildValue( "s" , IORObjRef ) ;
         //PyTuple_SetItem( MyPyObjRefList , 0 , ObjValue ) ;