summaryrefslogtreecommitdiff
path: root/TAO/tao/Invocation.i
diff options
context:
space:
mode:
Diffstat (limited to 'TAO/tao/Invocation.i')
-rw-r--r--TAO/tao/Invocation.i10
1 files changed, 4 insertions, 6 deletions
diff --git a/TAO/tao/Invocation.i b/TAO/tao/Invocation.i
index d4dad8ee56f..e832e474c27 100644
--- a/TAO/tao/Invocation.i
+++ b/TAO/tao/Invocation.i
@@ -25,15 +25,14 @@ TAO_GIOP_Twoway_Invocation (TAO_Stub *stub,
const char *operation,
TAO_ORB_Core *orb_core)
: TAO_GIOP_Invocation (stub, operation, orb_core),
- message_state_ (orb_core),
- rd_ (&message_state_)
+ rd_ (orb_core)
{
}
ACE_INLINE TAO_InputCDR &
TAO_GIOP_Twoway_Invocation::inp_stream (void)
{
- return this->message_state_.cdr;
+ return this->rd_.reply_cdr ();
}
ACE_INLINE void
@@ -69,13 +68,12 @@ TAO_GIOP_Locate_Request_Invocation::
TAO_GIOP_Locate_Request_Invocation (TAO_Stub *stub,
TAO_ORB_Core *orb_core)
: TAO_GIOP_Invocation (stub, 0, orb_core),
- message_state_ (orb_core),
- rd_ (&message_state_)
+ rd_ (orb_core)
{
}
ACE_INLINE TAO_InputCDR &
TAO_GIOP_Locate_Request_Invocation::inp_stream (void)
{
- return this->message_state_.cdr;
+ return this->rd_. reply_cdr ();
}