summaryrefslogtreecommitdiff
path: root/TAO/tao/PortableServer/POA_Cached_Policies.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'TAO/tao/PortableServer/POA_Cached_Policies.cpp')
-rw-r--r--TAO/tao/PortableServer/POA_Cached_Policies.cpp26
1 files changed, 9 insertions, 17 deletions
diff --git a/TAO/tao/PortableServer/POA_Cached_Policies.cpp b/TAO/tao/PortableServer/POA_Cached_Policies.cpp
index 64b5098bdfe..9660fdfede2 100644
--- a/TAO/tao/PortableServer/POA_Cached_Policies.cpp
+++ b/TAO/tao/PortableServer/POA_Cached_Policies.cpp
@@ -35,7 +35,7 @@ namespace TAO
}
- Cached_Policies::~Cached_Policies (void)
+ Cached_Policies::~Cached_Policies ()
{
}
@@ -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 ()))
{