diff options
author | parsons <parsons@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 2000-11-20 21:02:16 +0000 |
---|---|---|
committer | parsons <parsons@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 2000-11-20 21:02:16 +0000 |
commit | 65c043663517a7395852d147138b5670eb91d13c (patch) | |
tree | 778d3b0345f91eaecfcb0422488a0fc3fc7d0c2d /TAO/tao/DynamicInterface | |
parent | 338a6441094f4c34a921258ed925c2295d029839 (diff) | |
download | ATCD-65c043663517a7395852d147138b5670eb91d13c.tar.gz |
ChangeLogTag: Mon Nov 20 14:54:59 2000 Jeff Parsons <parsons@cs.wustl.edu>
Diffstat (limited to 'TAO/tao/DynamicInterface')
-rw-r--r-- | TAO/tao/DynamicInterface/Request.cpp | 9 | ||||
-rw-r--r-- | TAO/tao/DynamicInterface/Request.inl | 6 |
2 files changed, 8 insertions, 7 deletions
diff --git a/TAO/tao/DynamicInterface/Request.cpp b/TAO/tao/DynamicInterface/Request.cpp index 9917fd7fceb..ca45f417720 100644 --- a/TAO/tao/DynamicInterface/Request.cpp +++ b/TAO/tao/DynamicInterface/Request.cpp @@ -48,6 +48,13 @@ CORBA_Request::_decr_refcnt (void) return 0; } +// The pseudo-object _nil method. +CORBA_Request_ptr +CORBA_Request::_nil (void) +{ + return (CORBA_Request_ptr)0; +} + // DII Request class implementation CORBA_Request::CORBA_Request (CORBA::Object_ptr obj, @@ -133,7 +140,7 @@ CORBA_Request::~CORBA_Request (void) void CORBA_Request::invoke (CORBA::Environment &ACE_TRY_ENV) { - CORBA::Boolean argument_flag = this->args_->count () ? 1 : 0; + CORBA::Boolean argument_flag = this->args_->_lazy_has_arguments (); TAO_GIOP_DII_Invocation call (this->target_->_stubobj (), this->opname_, diff --git a/TAO/tao/DynamicInterface/Request.inl b/TAO/tao/DynamicInterface/Request.inl index 13ba1f53583..caf3d6e1a68 100644 --- a/TAO/tao/DynamicInterface/Request.inl +++ b/TAO/tao/DynamicInterface/Request.inl @@ -13,12 +13,6 @@ CORBA_Request::_duplicate (CORBA_Request_ptr x) return x; } -ACE_INLINE CORBA_Request_ptr -CORBA_Request::_nil (void) -{ - return (CORBA_Request_ptr)0; -} - ACE_INLINE CORBA::Object_ptr CORBA_Request::target (void) const { |