diff options
Diffstat (limited to 'TAO/tao/servant_base.cpp')
-rw-r--r-- | TAO/tao/servant_base.cpp | 15 |
1 files changed, 2 insertions, 13 deletions
diff --git a/TAO/tao/servant_base.cpp b/TAO/tao/servant_base.cpp index b2c029d307a..d1431c84c90 100644 --- a/TAO/tao/servant_base.cpp +++ b/TAO/tao/servant_base.cpp @@ -29,26 +29,15 @@ TAO_ServantBase::_default_POA (CORBA::Environment &env) CORBA::Boolean TAO_ServantBase::_is_a (const char* logical_type_id, - CORBA::Environment &) + CORBA::Environment &env) { - if (ACE_OS::strcmp (logical_type_id, CORBA::_tc_Object->id ()) == 0) + if (ACE_OS::strcmp (logical_type_id, CORBA::_tc_Object->id (env)) == 0) { return CORBA::B_TRUE; } return CORBA::B_FALSE; } - -void* -TAO_ServantBase::_downcast (const char* logical_type_id) -{ - if (ACE_OS::strcmp (logical_type_id, CORBA::_tc_Object->id ()) == 0) - { - return this; - } - return 0; -} - void TAO_ServantBase::set_parent (TAO_IUnknown *p) { |