summaryrefslogtreecommitdiff
path: root/TAO/tao/Any.cpp
diff options
context:
space:
mode:
authorgokhale <asgokhale@users.noreply.github.com>1998-04-18 15:26:53 +0000
committergokhale <asgokhale@users.noreply.github.com>1998-04-18 15:26:53 +0000
commitc3a1fc109a055a273972d3479b1094881292af6b (patch)
tree4fbe0c900f9a1d711bb8de3711b918d869faac5c /TAO/tao/Any.cpp
parent39609884c911b4cbdcb3994af99fea165e0b3ca8 (diff)
downloadATCD-c3a1fc109a055a273972d3479b1094881292af6b.tar.gz
*** empty log message ***
Diffstat (limited to 'TAO/tao/Any.cpp')
-rw-r--r--TAO/tao/Any.cpp7
1 files changed, 3 insertions, 4 deletions
diff --git a/TAO/tao/Any.cpp b/TAO/tao/Any.cpp
index a4a57d1eca2..8a67959ca41 100644
--- a/TAO/tao/Any.cpp
+++ b/TAO/tao/Any.cpp
@@ -165,7 +165,6 @@ CORBA_Any::operator= (const CORBA_Any &src)
this->value_ = 0;
this->any_owns_data_ = CORBA::B_TRUE;
this->refcount_ = 1;
- this->type_->AddRef ();
// does the source own its data? If not, then it is not in the message block
// form and must be encoded. Else we must simply duplicate the message block
@@ -492,7 +491,7 @@ CORBA_Any::operator>>= (to_boolean b) const
{
if (this->any_owns_data_)
{
- TAO_InputCDR stream ((ACE_Message_Block *) this->value_);
+ TAO_InputCDR stream ((ACE_Message_Block *) this->cdr_);
return stream.read_boolean (b.ref_);
}
else
@@ -514,7 +513,7 @@ CORBA_Any::operator>>= (to_octet o) const
{
if (this->any_owns_data_)
{
- TAO_InputCDR stream ((ACE_Message_Block *) this->value_);
+ TAO_InputCDR stream ((ACE_Message_Block *) this->cdr_);
return stream.read_octet (o.ref_);
}
else
@@ -536,7 +535,7 @@ CORBA_Any::operator>>= (to_char c) const
{
if (this->any_owns_data_)
{
- TAO_InputCDR stream ((ACE_Message_Block *) this->value_);
+ TAO_InputCDR stream ((ACE_Message_Block *) this->cdr_);
return stream.read_char (c.ref_);
}
else