diff options
Diffstat (limited to 'TAO/tao/PortableServer/POA_Policy_Set.cpp')
-rw-r--r-- | TAO/tao/PortableServer/POA_Policy_Set.cpp | 13 |
1 files changed, 5 insertions, 8 deletions
diff --git a/TAO/tao/PortableServer/POA_Policy_Set.cpp b/TAO/tao/PortableServer/POA_Policy_Set.cpp index cd60ac7b1a2..084ce2cb75f 100644 --- a/TAO/tao/PortableServer/POA_Policy_Set.cpp +++ b/TAO/tao/PortableServer/POA_Policy_Set.cpp @@ -33,8 +33,8 @@ TAO_POA_Policy_Set::~TAO_POA_Policy_Set (void) } void -TAO_POA_Policy_Set::add_client_exposed_fixed_policies (CORBA::PolicyList *client_exposed_policies - ) +TAO_POA_Policy_Set::add_client_exposed_fixed_policies ( + CORBA::PolicyList *client_exposed_policies) { CORBA::ULong cep_index = client_exposed_policies->length (); @@ -48,9 +48,7 @@ TAO_POA_Policy_Set::add_client_exposed_fixed_policies (CORBA::PolicyList *client if (policy->_tao_scope () & TAO_POLICY_CLIENT_EXPOSED) { client_exposed_policies->length (cep_index + 1); - (*client_exposed_policies)[cep_index] = - policy->copy (); - + (*client_exposed_policies)[cep_index] = policy->copy (); cep_index++; } } @@ -58,8 +56,7 @@ TAO_POA_Policy_Set::add_client_exposed_fixed_policies (CORBA::PolicyList *client void TAO_POA_Policy_Set::validate_policies (TAO_Policy_Validator &validator, - TAO_ORB_Core &orb_core - ) + TAO_ORB_Core &orb_core) { // Just give a last chance for all the unloaded validators in other // libraries to be registered @@ -80,7 +77,7 @@ TAO_POA_Policy_Set::validate_policies (TAO_Policy_Validator &validator, if (validator.legal_policy (type) == 0) { -#if ! defined (CORBA_E_MICRO) +#if !defined (CORBA_E_MICRO) // An invalid policy was specified. Let the user know about // it. throw PortableServer::POA::InvalidPolicy (); |