diff options
author | Johnny Willemsen <jwillemsen@remedy.nl> | 2020-10-28 12:09:51 +0100 |
---|---|---|
committer | Johnny Willemsen <jwillemsen@remedy.nl> | 2020-10-28 12:09:51 +0100 |
commit | 2600ed8648b169a0557d94b0e8c835279d3bc73b (patch) | |
tree | 6c73a1f0ebc2f002f24ab4c6b07e54f7d7ae3b8c /TAO/tao/PortableServer | |
parent | 55978a89a7f8f707df7937e65108db655ad749cd (diff) | |
download | ATCD-2600ed8648b169a0557d94b0e8c835279d3bc73b.tar.gz |
Layout and docu changes
Diffstat (limited to 'TAO/tao/PortableServer')
-rw-r--r-- | TAO/tao/PortableServer/Object_Adapter.h | 2 | ||||
-rw-r--r-- | TAO/tao/PortableServer/POA_Cached_Policies.cpp | 24 |
2 files changed, 9 insertions, 17 deletions
diff --git a/TAO/tao/PortableServer/Object_Adapter.h b/TAO/tao/PortableServer/Object_Adapter.h index 71d0583c0bc..d4d30ebd322 100644 --- a/TAO/tao/PortableServer/Object_Adapter.h +++ b/TAO/tao/PortableServer/Object_Adapter.h @@ -176,7 +176,7 @@ protected: void locate_poa (const TAO::ObjectKey &key, PortableServer::ObjectId &id, - TAO_Root_POA *&poa ); + TAO_Root_POA *&poa); int find_transient_poa (const poa_name &system_name, CORBA::Boolean root, diff --git a/TAO/tao/PortableServer/POA_Cached_Policies.cpp b/TAO/tao/PortableServer/POA_Cached_Policies.cpp index 64b5098bdfe..24061bd8238 100644 --- a/TAO/tao/PortableServer/POA_Cached_Policies.cpp +++ b/TAO/tao/PortableServer/POA_Cached_Policies.cpp @@ -47,8 +47,7 @@ namespace TAO { CORBA::Policy_var policy = policy_set.get_policy_by_index (i); - this->update_policy (policy.in () - ); + this->update_policy (policy.in ()); } } @@ -59,8 +58,7 @@ namespace TAO #if (TAO_HAS_MINIMUM_POA == 0) && !defined (CORBA_E_COMPACT) && !defined (CORBA_E_MICRO) ::PortableServer::ThreadPolicy_var thread - = ::PortableServer::ThreadPolicy::_narrow (policy - ); + = ::PortableServer::ThreadPolicy::_narrow (policy); if (!CORBA::is_nil (thread.in ())) { @@ -72,8 +70,7 @@ namespace TAO #if !defined (CORBA_E_MICRO) ::PortableServer::LifespanPolicy_var lifespan - = ::PortableServer::LifespanPolicy::_narrow (policy - ); + = ::PortableServer::LifespanPolicy::_narrow (policy); if (!CORBA::is_nil (lifespan.in ())) { @@ -85,8 +82,7 @@ namespace TAO #if !defined (CORBA_E_MICRO) ::PortableServer::IdUniquenessPolicy_var id_uniqueness - = ::PortableServer::IdUniquenessPolicy::_narrow (policy - ); + = ::PortableServer::IdUniquenessPolicy::_narrow (policy); if (!CORBA::is_nil (id_uniqueness.in ())) { @@ -98,8 +94,7 @@ namespace TAO #if !defined (CORBA_E_MICRO) ::PortableServer::IdAssignmentPolicy_var id_assignment - = ::PortableServer::IdAssignmentPolicy::_narrow (policy - ); + = ::PortableServer::IdAssignmentPolicy::_narrow (policy); if (!CORBA::is_nil (id_assignment.in ())) { @@ -112,8 +107,7 @@ namespace TAO #if (TAO_HAS_MINIMUM_POA == 0) && !defined (CORBA_E_COMPACT) && !defined (CORBA_E_MICRO) ::PortableServer::ImplicitActivationPolicy_var implicit_activation - = ::PortableServer::ImplicitActivationPolicy::_narrow (policy - ); + = ::PortableServer::ImplicitActivationPolicy::_narrow (policy); if (!CORBA::is_nil (implicit_activation.in ())) { @@ -123,8 +117,7 @@ namespace TAO } ::PortableServer::ServantRetentionPolicy_var servant_retention - = ::PortableServer::ServantRetentionPolicy::_narrow (policy - ); + = ::PortableServer::ServantRetentionPolicy::_narrow (policy); if (!CORBA::is_nil (servant_retention.in ())) { @@ -134,8 +127,7 @@ namespace TAO } ::PortableServer::RequestProcessingPolicy_var request_processing - = ::PortableServer::RequestProcessingPolicy::_narrow (policy - ); + = ::PortableServer::RequestProcessingPolicy::_narrow (policy); if (!CORBA::is_nil (request_processing.in ())) { |