diff options
Diffstat (limited to 'TAO/tao/Forwarding_Servant.cpp')
-rw-r--r-- | TAO/tao/Forwarding_Servant.cpp | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/TAO/tao/Forwarding_Servant.cpp b/TAO/tao/Forwarding_Servant.cpp index a5a7bd4a140..86faf571e38 100644 --- a/TAO/tao/Forwarding_Servant.cpp +++ b/TAO/tao/Forwarding_Servant.cpp @@ -1,9 +1,6 @@ // $Id$ #include "tao/Forwarding_Servant.h" - -#if !defined (TAO_HAS_MINIMUM_CORBA) - #include "tao/Object.h" #include "tao/POAC.h" #include "tao/Any.h" @@ -28,7 +25,7 @@ TAO_Forwarding_Servant::invoke (CORBA::ServerRequest_ptr request, CORBA::Exception *exception = new PortableServer::ForwardRequest (this->forward_to_.in ()); - CORBA::Any any (exception->_type (), exception, 1); + CORBA::Any any (exception->_type (), exception); request->set_exception (any, env); @@ -46,5 +43,3 @@ TAO_Forwarding_Servant::_primary_interface (const PortableServer::ObjectId &oid, return CORBA::string_dup (this->interface_repository_id_.in ()); } - -#endif /* TAO_HAS_MINIMUM_CORBA */ |