diff options
Diffstat (limited to 'TAO/orbsvcs/orbsvcs/PortableGroup/UIPMC_Endpoint.cpp')
-rw-r--r-- | TAO/orbsvcs/orbsvcs/PortableGroup/UIPMC_Endpoint.cpp | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/TAO/orbsvcs/orbsvcs/PortableGroup/UIPMC_Endpoint.cpp b/TAO/orbsvcs/orbsvcs/PortableGroup/UIPMC_Endpoint.cpp index 6f17ee9c687..04ef32df9ce 100644 --- a/TAO/orbsvcs/orbsvcs/PortableGroup/UIPMC_Endpoint.cpp +++ b/TAO/orbsvcs/orbsvcs/PortableGroup/UIPMC_Endpoint.cpp @@ -113,11 +113,9 @@ TAO_UIPMC_Endpoint::duplicate (void) CORBA::Boolean TAO_UIPMC_Endpoint::is_equivalent (const TAO_Endpoint *other_endpoint) { - TAO_Endpoint *endpt = ACE_const_cast (TAO_Endpoint *, - other_endpoint); + TAO_Endpoint *endpt = const_cast<TAO_Endpoint *> (other_endpoint); - TAO_UIPMC_Endpoint *endpoint = ACE_dynamic_cast (TAO_UIPMC_Endpoint *, - endpt); + TAO_UIPMC_Endpoint *endpoint = dynamic_cast<TAO_UIPMC_Endpoint *> (endpt); if (endpoint == 0) return 0; |