diff options
Diffstat (limited to 'TAO/tao/Strategies/SCIOP_Profile.cpp')
-rw-r--r-- | TAO/tao/Strategies/SCIOP_Profile.cpp | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/TAO/tao/Strategies/SCIOP_Profile.cpp b/TAO/tao/Strategies/SCIOP_Profile.cpp index a09a100ef89..cfebab439f7 100644 --- a/TAO/tao/Strategies/SCIOP_Profile.cpp +++ b/TAO/tao/Strategies/SCIOP_Profile.cpp @@ -138,7 +138,7 @@ TAO_SCIOP_Profile::decode_profile (TAO_InputCDR& cdr) void TAO_SCIOP_Profile::parse_string_i (const char *ior - ACE_ENV_ARG_DECL) + ) { // Pull off the "hostname:port/" part of the objref // Copy the string because we are going to modify it... @@ -148,7 +148,7 @@ TAO_SCIOP_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), @@ -163,7 +163,7 @@ TAO_SCIOP_Profile::parse_string_i (const char *ior if (cp_pos == ior) { // No hostname specified! It is required by the spec. - ACE_THROW (CORBA::INV_OBJREF ( + throw ( ::CORBA::INV_OBJREF ( CORBA::SystemException::_tao_minor_code ( TAO::VMCID, EINVAL), @@ -217,7 +217,7 @@ TAO_SCIOP_Profile::parse_string_i (const char *ior ACE_TEXT ("cannot determine hostname"))); // @@ What's the right exception to throw here? - ACE_THROW (CORBA::INV_OBJREF ( + throw ( ::CORBA::INV_OBJREF ( CORBA::SystemException::_tao_minor_code ( TAO::VMCID, EINVAL), @@ -262,7 +262,7 @@ TAO_SCIOP_Profile::do_is_equivalent (const TAO_Profile *other_profile) CORBA::ULong TAO_SCIOP_Profile::hash (CORBA::ULong max - ACE_ENV_ARG_DECL_NOT_USED) + ) { // Get the hash value for all endpoints. CORBA::ULong hashval = 0; @@ -312,7 +312,7 @@ TAO_SCIOP_Profile::add_endpoint (TAO_SCIOP_Endpoint *endp) } char * -TAO_SCIOP_Profile::to_string (ACE_ENV_SINGLE_ARG_DECL_NOT_USED) +TAO_SCIOP_Profile::to_string (void) { CORBA::String_var key; TAO::ObjectKey::encode_sequence_to_string (key.inout(), |