diff options
author | bala <balanatarajan@users.noreply.github.com> | 2004-01-25 16:26:35 +0000 |
---|---|---|
committer | bala <balanatarajan@users.noreply.github.com> | 2004-01-25 16:26:35 +0000 |
commit | 15664b969a364f0d2e0dae538c036c74e60b5a8f (patch) | |
tree | 87fceb087b85a2b37097f8996830a613c2693994 | |
parent | 9e3b272a43619cc6ef7f8f2bed09d22debc63c22 (diff) | |
download | ATCD-15664b969a364f0d2e0dae538c036c74e60b5a8f.tar.gz |
ChangeLogTag:Sun Jan 25 10:25:07 2004 Balachandran Natarajan <bala@dre.vanderbilt.edu>
-rw-r--r-- | TAO/orbsvcs/examples/ORT/Object_Factory_i.cpp | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/TAO/orbsvcs/examples/ORT/Object_Factory_i.cpp b/TAO/orbsvcs/examples/ORT/Object_Factory_i.cpp index 3a37e2f0116..afb2783d8af 100644 --- a/TAO/orbsvcs/examples/ORT/Object_Factory_i.cpp +++ b/TAO/orbsvcs/examples/ORT/Object_Factory_i.cpp @@ -30,16 +30,14 @@ Object_Factory_i::create_object (const char *interface_repository_id, ACE_reinterpret_cast (const PortableInterceptor::ObjectId *, &id.in ()); - TAO_POA *poa = ACE_dynamic_cast (TAO_POA *, - this->gateway_poa_); + TAO_POA *poa = dynamic_cast <TAO_POA *> (this->gateway_poa_); ACE_CHECK_RETURN (CORBA::Object::_nil ()); PortableInterceptor::ObjectReferenceTemplate *ort_template = poa->get_adapter_template(); TAO_ObjectReferenceTemplate *ort = - ACE_dynamic_cast (TAO_ObjectReferenceTemplate *, - ort_template); + dynamic_cast <TAO_ObjectReferenceTemplate *> (ort_template); CORBA::Object_ptr object_ptr = ort->make_object (interface_repository_id, |