diff options
Diffstat (limited to 'TAO/tao/Strategies/COIOP_Profile.cpp')
-rw-r--r-- | TAO/tao/Strategies/COIOP_Profile.cpp | 12 |
1 files changed, 5 insertions, 7 deletions
diff --git a/TAO/tao/Strategies/COIOP_Profile.cpp b/TAO/tao/Strategies/COIOP_Profile.cpp index 5357ad8203f..39d6804470e 100644 --- a/TAO/tao/Strategies/COIOP_Profile.cpp +++ b/TAO/tao/Strategies/COIOP_Profile.cpp @@ -99,8 +99,7 @@ TAO_COIOP_Profile::decode_profile (TAO_InputCDR& cdr) } void -TAO_COIOP_Profile::parse_string_i (const char *ior - ACE_ENV_ARG_DECL) +TAO_COIOP_Profile::parse_string_i (const char *ior) { // Pull off the "hostname:port/" part of the objref // Copy the string because we are going to modify it... @@ -110,11 +109,11 @@ TAO_COIOP_Profile::parse_string_i (const char *ior if (okd == 0 || okd == ior) { // No object key delimiter or no hostname specified. - ACE_THROW (CORBA::INV_OBJREF ( + throw ::CORBA::INV_OBJREF ( CORBA::SystemException::_tao_minor_code ( TAO::VMCID, EINVAL), - CORBA::COMPLETED_NO)); + CORBA::COMPLETED_NO); } // Length of host string. @@ -158,8 +157,7 @@ TAO_COIOP_Profile::do_is_equivalent (const TAO_Profile *other_profile) } CORBA::ULong -TAO_COIOP_Profile::hash (CORBA::ULong max - ACE_ENV_ARG_DECL_NOT_USED) +TAO_COIOP_Profile::hash (CORBA::ULong max) { // Get the hashvalue for all endpoints. CORBA::ULong hashval = 0; @@ -209,7 +207,7 @@ TAO_COIOP_Profile::add_endpoint (TAO_COIOP_Endpoint *endp) } char * -TAO_COIOP_Profile::to_string (ACE_ENV_SINGLE_ARG_DECL_NOT_USED) +TAO_COIOP_Profile::to_string (void) { CORBA::String_var key; TAO::ObjectKey::encode_sequence_to_string (key.inout(), |