From: mkr Date: Mon, 24 Oct 2005 12:25:53 +0000 (+0000) Subject: omniORB-3.0.5 has CORBA::Any::to_object(...). X-Git-Tag: V2_2_6~3 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=5a192e53f41b8b94a3ecfafcc418d4b8a52d9f26;p=modules%2Fsuperv.git omniORB-3.0.5 has CORBA::Any::to_object(...). --- diff --git a/src/GraphExecutor/DataFlowExecutor_PyDynInvoke.cxx b/src/GraphExecutor/DataFlowExecutor_PyDynInvoke.cxx index 01ab367..48e1145 100644 --- a/src/GraphExecutor/DataFlowExecutor_PyDynInvoke.cxx +++ b/src/GraphExecutor/DataFlowExecutor_PyDynInvoke.cxx @@ -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 ) ;