summaryrefslogtreecommitdiff
path: root/TAO/tests/Bug_2560_Regression/server.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'TAO/tests/Bug_2560_Regression/server.cpp')
-rw-r--r--TAO/tests/Bug_2560_Regression/server.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/TAO/tests/Bug_2560_Regression/server.cpp b/TAO/tests/Bug_2560_Regression/server.cpp
index 7922fd05f71..432759ef282 100644
--- a/TAO/tests/Bug_2560_Regression/server.cpp
+++ b/TAO/tests/Bug_2560_Regression/server.cpp
@@ -47,15 +47,15 @@ int main (int argc, char* argv[])
// Make policies for child POA
CORBA::PolicyList policies(2) ;
policies.length(2) ;
- policies[0] = root_poa->create_lifespan_policy ( PortableServer::PERSISTENT ACE_ENV_ARG_PARAMETER ) ;
- policies[1] = root_poa->create_id_assignment_policy ( PortableServer::USER_ID ACE_ENV_ARG_PARAMETER ) ;
+ policies[0] = root_poa->create_lifespan_policy ( PortableServer::PERSISTENT ) ;
+ policies[1] = root_poa->create_id_assignment_policy ( PortableServer::USER_ID ) ;
PortableServer::POA_var poa = root_poa->create_POA ( "MyPOA", poa_manager.in(), policies );
// Creation of the new POAs over, so destroy the Policy_ptr's.
for ( size_t i = 0 ; i < policies.length (); ++i ) {
CORBA::Policy_ptr policy = policies[i];
- policy->destroy (ACE_ENV_SINGLE_ARG_PARAMETER);
+ policy->destroy ();
}
// use this poa for making system objects