summaryrefslogtreecommitdiff
path: root/CIAO/ciao/Dynamic_Component_Servant_T.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'CIAO/ciao/Dynamic_Component_Servant_T.cpp')
-rw-r--r--CIAO/ciao/Dynamic_Component_Servant_T.cpp14
1 files changed, 4 insertions, 10 deletions
diff --git a/CIAO/ciao/Dynamic_Component_Servant_T.cpp b/CIAO/ciao/Dynamic_Component_Servant_T.cpp
index c37f9763076..a69d568264a 100644
--- a/CIAO/ciao/Dynamic_Component_Servant_T.cpp
+++ b/CIAO/ciao/Dynamic_Component_Servant_T.cpp
@@ -53,23 +53,17 @@ namespace CIAO
template <typename COMP_SVNT>
PortableServer::Servant Dynamic_Component_Servant<COMP_SVNT>::create (
- PortableServer::ObjectId &oid
- ACE_ENV_ARG_DECL)
+ PortableServer::ObjectId &oid)
{
CIAO::Swap_Exec_var swap_exec =
- CIAO::Swap_Exec::_narrow (this->executor_.in ()
- ACE_ENV_ARG_PARAMETER);
- ACE_CHECK_RETURN (0);
+ CIAO::Swap_Exec::_narrow (this->executor_.in ());
::Components::EnterpriseComponent_var ciao_ec =
- swap_exec->incarnate (ACE_ENV_SINGLE_ARG_PARAMETER);
- ACE_CHECK_RETURN (0);
+ swap_exec->incarnate ();
typedef typename COMP_SVNT::_exec_type exec_type;
typename COMP_SVNT::_exec_type::_var_type ciao_comp =
- exec_type::_narrow (ciao_ec.in ()
- ACE_ENV_ARG_PARAMETER);
- ACE_CHECK_RETURN (0);
+ exec_type::_narrow (ciao_ec.in ());
/// @@ Jai, should you be using ACE_NEW_THROW_EX here?
COMP_SVNT *svt = new COMP_SVNT (ciao_comp.in (),