diff options
author | parsons <parsons@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 1999-06-02 15:49:25 +0000 |
---|---|---|
committer | parsons <parsons@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 1999-06-02 15:49:25 +0000 |
commit | 92370e85138a74655ed3dbf9b07aceb1540b6ea6 (patch) | |
tree | a6ec2107350466b16926d6e8cd02665e0d55e3e7 /TAO | |
parent | 0a2f6cf834c07b18717cd14539830001ea404b40 (diff) | |
download | ATCD-92370e85138a74655ed3dbf9b07aceb1540b6ea6.tar.gz |
Removed a broken "optimization" that I had made the other day.
Diffstat (limited to 'TAO')
-rw-r--r-- | TAO/tao/Stub.cpp | 19 |
1 files changed, 1 insertions, 18 deletions
diff --git a/TAO/tao/Stub.cpp b/TAO/tao/Stub.cpp index ccb6164dd08..5fc39905f91 100644 --- a/TAO/tao/Stub.cpp +++ b/TAO/tao/Stub.cpp @@ -559,22 +559,6 @@ TAO_Stub::do_dynamic_call (const char *opname, // that contained this parameter, The // application should use the appropriate >>= // operator to retrieve the value - - char *begin = call.inp_stream ().rd_ptr (); - CORBA::Any *any = result->value (); - CORBA::TypeCode::traverse_status retval = - call.inp_stream ().skip (any->type_, - ACE_TRY_ENV); - ACE_CHECK; - - if (retval == CORBA::TypeCode::TRAVERSE_CONTINUE) - { - char *end = call.inp_stream ().rd_ptr (); - any->cdr_ = new ACE_Message_Block (begin, - end - begin); - any->cdr_->wr_ptr (end - begin); - } -#if 0 char *begin, *end; TAO_InputCDR temp (call.inp_stream ()); CORBA::TypeCode::traverse_status retval; @@ -588,7 +572,7 @@ TAO_Stub::do_dynamic_call (const char *opname, if (retval == CORBA::TypeCode::TRAVERSE_CONTINUE) { end = temp.rd_ptr (); - any->cdr_ = new ACE_Message_Block (begin, end - begin); + any->cdr_ = new ACE_Message_Block (end - begin); any->cdr_->wr_ptr (end - begin); TAO_OutputCDR out (any->cdr_); retval = out.append (any->type_, @@ -601,7 +585,6 @@ TAO_Stub::do_dynamic_call (const char *opname, any->any_owns_data_ = 0; } } -#endif } else { |