diff options
author | Ossama Othman <ossama-othman@users.noreply.github.com> | 2004-06-02 07:38:06 +0000 |
---|---|---|
committer | Ossama Othman <ossama-othman@users.noreply.github.com> | 2004-06-02 07:38:06 +0000 |
commit | 2f07894e38530ebc50073fc738c6f38f428cb9d4 (patch) | |
tree | 5d66542032fa0d8a6e6477f5044d305055fced07 /TAO/tao/Base_Transport_Property.cpp | |
parent | 26aef7fbb583ca26865956ce365312e536ea4997 (diff) | |
download | ATCD-2f07894e38530ebc50073fc738c6f38f428cb9d4.tar.gz |
ChangeLogTag:Wed Jun 2 00:37:17 2004 Ossama Othman <ossama@dre.vanderbilt.edu>
Diffstat (limited to 'TAO/tao/Base_Transport_Property.cpp')
-rw-r--r-- | TAO/tao/Base_Transport_Property.cpp | 14 |
1 files changed, 4 insertions, 10 deletions
diff --git a/TAO/tao/Base_Transport_Property.cpp b/TAO/tao/Base_Transport_Property.cpp index 8895392e0a3..75b3d08349c 100644 --- a/TAO/tao/Base_Transport_Property.cpp +++ b/TAO/tao/Base_Transport_Property.cpp @@ -7,8 +7,8 @@ # include "tao/Base_Transport_Property.inl" #endif /* __ACE_INLINE__ */ -ACE_RCSID (tao, - Base_Transport_Property, +ACE_RCSID (tao, + Base_Transport_Property, "$Id$") TAO_Base_Transport_Property::~TAO_Base_Transport_Property (void) @@ -38,14 +38,8 @@ CORBA::Boolean TAO_Base_Transport_Property::is_equivalent ( const TAO_Transport_Descriptor_Interface *rhs) { - // Do away with const. - TAO_Transport_Descriptor_Interface *r = - ACE_const_cast (TAO_Transport_Descriptor_Interface *, - rhs); - - TAO_Base_Transport_Property *other_desc = - ACE_dynamic_cast (TAO_Base_Transport_Property *, - r); + const TAO_Base_Transport_Property *other_desc = + dynamic_cast<const TAO_Base_Transport_Property *> (rhs); if (other_desc == 0) return 0; |