diff options
author | parsons <parsons@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 2000-03-22 03:44:53 +0000 |
---|---|---|
committer | parsons <parsons@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 2000-03-22 03:44:53 +0000 |
commit | 7a3a2b66fcdb5a7a52febe39e574686ec3dd8ae8 (patch) | |
tree | 1bfa1c39794db1ac2483b3941220bdc7a5abe963 /TAO | |
parent | f3568c7eef9fc0db9cae4cbba1ee626a6bf43080 (diff) | |
download | ATCD-7a3a2b66fcdb5a7a52febe39e574686ec3dd8ae8.tar.gz |
Fixed some cut and paste mistakes in the _tao_any_destructor functions.
Diffstat (limited to 'TAO')
-rw-r--r-- | TAO/tao/InterfaceC.cpp | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/TAO/tao/InterfaceC.cpp b/TAO/tao/InterfaceC.cpp index 378b92620d6..ed812703572 100644 --- a/TAO/tao/InterfaceC.cpp +++ b/TAO/tao/InterfaceC.cpp @@ -13981,7 +13981,7 @@ void operator<<= (CORBA::Any &_tao_any, const CORBA::Contained::Description &_ta void CORBA::Contained::Description::_tao_any_destructor (void *x) { - CORBA::Contained::Description *tmp = ACE_const_cast(CORBA::Contained::Description*,x); + CORBA::Contained::Description *tmp = ACE_static_cast(CORBA::Contained::Description*,x); delete tmp; } @@ -14072,7 +14072,7 @@ void operator<<= ( void CORBA::InterfaceDefSeq::_tao_any_destructor (void *x) { - CORBA::InterfaceDefSeq *tmp = ACE_const_cast(CORBA::InterfaceDefSeq*,x); + CORBA::InterfaceDefSeq *tmp = ACE_static_cast(CORBA::InterfaceDefSeq*,x); delete tmp; } @@ -14164,7 +14164,7 @@ void operator<<= ( void CORBA::ValueDefSeq::_tao_any_destructor (void *x) { CORBA::ValueDefSeq *tmp = ACE_static_cast(CORBA::ValueDefSeq*,x); - delete x; + delete tmp; } void operator<<= (CORBA::Any &_tao_any, CORBA::ValueDefSeq *_tao_elem) // non copying @@ -14255,7 +14255,7 @@ void operator<<= ( void CORBA::ContainedSeq::_tao_any_destructor (void *x) { CORBA::ContainedSeq *tmp = ACE_static_cast(CORBA::ContainedSeq*,x); - delete x; + delete tmp; } void operator<<= (CORBA::Any &_tao_any, CORBA::ContainedSeq *_tao_elem) // non copying @@ -14341,7 +14341,7 @@ void operator<<= (CORBA::Any &_tao_any, const CORBA::StructMember &_tao_elem) // void CORBA::StructMember::_tao_any_destructor (void *x) { CORBA::StructMember *tmp = ACE_static_cast(CORBA::StructMember*,x); - delete x; + delete tmp; } void operator<<= (CORBA::Any &_tao_any, CORBA::StructMember *_tao_elem) // non copying @@ -14432,7 +14432,7 @@ void operator<<= ( void CORBA::StructMemberSeq::_tao_any_destructor (void *x) { CORBA::StructMemberSeq *tmp = ACE_static_cast(CORBA::StructMemberSeq*,x); - delete x; + delete tmp; } void operator<<= (CORBA::Any &_tao_any, CORBA::StructMemberSeq *_tao_elem) // non copying @@ -14518,7 +14518,7 @@ void operator<<= (CORBA::Any &_tao_any, const CORBA::Initializer &_tao_elem) // void CORBA::Initializer::_tao_any_destructor (void *x) { CORBA::Initializer *tmp = ACE_static_cast(CORBA::Initializer*,x); - delete x; + delete tmp; } void operator<<= (CORBA::Any &_tao_any, CORBA::Initializer *_tao_elem) // non copying @@ -14610,7 +14610,7 @@ void CORBA::InitializerSeq::_tao_any_destructor (void *x) { CORBA::InitializerSeq *tmp = ACE_static_cast(CORBA::InitializerSeq*,x); - delete x; + delete tmp; } void operator<<= (CORBA::Any &_tao_any, CORBA::InitializerSeq *_tao_elem) // non copying @@ -14696,7 +14696,7 @@ void operator<<= (CORBA::Any &_tao_any, const CORBA::UnionMember &_tao_elem) // void CORBA::UnionMember::_tao_any_destructor (void *x) { CORBA::UnionMember *tmp = ACE_static_cast(CORBA::UnionMember*,x); - delete x; + delete tmp; } void operator<<= (CORBA::Any &_tao_any, CORBA::UnionMember *_tao_elem) // non copying @@ -14787,7 +14787,7 @@ void operator<<= ( void CORBA::UnionMemberSeq::_tao_any_destructor (void *x) { CORBA::UnionMemberSeq *tmp = ACE_static_cast(CORBA::UnionMemberSeq*,x); - delete x; + delete tmp; } void operator<<= (CORBA::Any &_tao_any, CORBA::UnionMemberSeq *_tao_elem) // non copying @@ -14862,7 +14862,7 @@ CORBA::Boolean operator>>= (const CORBA::Any &_tao_any, const CORBA::UnionMember void CORBA::EnumMemberSeq::_tao_any_destructor (void *x) { CORBA::EnumMemberSeq *tmp = ACE_static_cast(CORBA::EnumMemberSeq*,x); - delete x; + delete tmp; } void operator<<= ( |