From 5a192e53f41b8b94a3ecfafcc418d4b8a52d9f26 Mon Sep 17 00:00:00 2001 From: mkr Date: Mon, 24 Oct 2005 12:25:53 +0000 Subject: [PATCH] omniORB-3.0.5 has CORBA::Any::to_object(...). --- src/GraphExecutor/DataFlowExecutor_PyDynInvoke.cxx | 4 ---- 1 file changed, 4 deletions(-) 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 ) ; -- 2.39.2