summaryrefslogtreecommitdiff
path: root/TAO/tao/Policy_Set.cpp
diff options
context:
space:
mode:
authordengg <dengg@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>2007-01-08 18:04:16 +0000
committerdengg <dengg@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>2007-01-08 18:04:16 +0000
commitf2467c5915867c006aa16fd22e482816e029a2db (patch)
tree61d8fcb4aa8a71d9034ff510ee52b2b7ca13fb5c /TAO/tao/Policy_Set.cpp
parenta2b8eda5d51dca5496c94600a7d3082b1a5f3601 (diff)
downloadATCD-ReDaC_01.tar.gz
made a copyReDaC_01
Diffstat (limited to 'TAO/tao/Policy_Set.cpp')
-rw-r--r--TAO/tao/Policy_Set.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/TAO/tao/Policy_Set.cpp b/TAO/tao/Policy_Set.cpp
index 5b0eda9ad12..0717181b929 100644
--- a/TAO/tao/Policy_Set.cpp
+++ b/TAO/tao/Policy_Set.cpp
@@ -272,8 +272,8 @@ CORBA::PolicyList *
TAO_Policy_Set::get_policy_overrides (const CORBA::PolicyTypeSeq &types
ACE_ENV_ARG_DECL)
{
- CORBA::ULong const slots = types.length ();
- CORBA::PolicyList *policy_list_ptr = 0;
+ const CORBA::ULong slots = types.length ();
+ CORBA::PolicyList *policy_list_ptr;
if (slots == 0)
{
@@ -297,12 +297,12 @@ TAO_Policy_Set::get_policy_overrides (const CORBA::PolicyTypeSeq &types
for (CORBA::ULong j = 0; j < slots; ++j)
{
- CORBA::ULong const slot = types[j];
- CORBA::ULong const length = this->policy_list_.length ();
+ const CORBA::ULong slot = types[j];
+ const CORBA::ULong length = this->policy_list_.length ();
for (CORBA::ULong i = 0; i < length; ++i)
{
- CORBA::ULong const current =
+ const CORBA::ULong current =
this->policy_list_[i]->policy_type (ACE_ENV_SINGLE_ARG_PARAMETER);
ACE_CHECK_RETURN (0);