diff options
Diffstat (limited to 'TAO/tao/Valuetype/AbstractBase.cpp')
-rw-r--r-- | TAO/tao/Valuetype/AbstractBase.cpp | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/TAO/tao/Valuetype/AbstractBase.cpp b/TAO/tao/Valuetype/AbstractBase.cpp index 9d64485d221..d0359c951a5 100644 --- a/TAO/tao/Valuetype/AbstractBase.cpp +++ b/TAO/tao/Valuetype/AbstractBase.cpp @@ -179,10 +179,7 @@ CORBA::AbstractBase::_is_a (const char *type_id) return this->equivalent_obj_->_is_a (type_id); } - int const cmp = ACE_OS::strcmp (type_id, - "IDL:omg.org/CORBA/AbstractBase:1.0"); - - return (cmp == 0); + return (ACE_OS::strcmp (type_id, "IDL:omg.org/CORBA/AbstractBase:1.0") == 0); } const char * |