diff options
author | Johnny Willemsen <jwillemsen@remedy.nl> | 2005-09-29 07:23:49 +0000 |
---|---|---|
committer | Johnny Willemsen <jwillemsen@remedy.nl> | 2005-09-29 07:23:49 +0000 |
commit | e7617722ab1b1b007a1205222037ae0a078d4f15 (patch) | |
tree | c501b112104ad20797c3b995127dfc73df3c4f63 /TAO/tao/PI_Server | |
parent | 0add32ecb7c7a261e43c809ccb959334c2e716b1 (diff) | |
download | ATCD-e7617722ab1b1b007a1205222037ae0a078d4f15.tar.gz |
ChangeLogTag: Thu Sep 29 07:08:12 UTC 2005 Johnny Willemsen <jwillemsen@remedy.nl>
Diffstat (limited to 'TAO/tao/PI_Server')
-rw-r--r-- | TAO/tao/PI_Server/Policy_Creator_T.h | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/TAO/tao/PI_Server/Policy_Creator_T.h b/TAO/tao/PI_Server/Policy_Creator_T.h index 3846ef81c88..42a5f422d4f 100644 --- a/TAO/tao/PI_Server/Policy_Creator_T.h +++ b/TAO/tao/PI_Server/Policy_Creator_T.h @@ -31,16 +31,16 @@ namespace TAO POLICYVALUE &value, const CORBA::Any& val ACE_ENV_ARG_DECL) - { - if ((val >>= value) == 0) - ACE_THROW (CORBA::PolicyError (CORBA::BAD_POLICY_VALUE)); - - ACE_NEW_THROW_EX (policy, - POLICYTYPE (value), - CORBA::NO_MEMORY (TAO::VMCID, - CORBA::COMPLETED_NO)); - ACE_CHECK; - } + { + if ((val >>= value) == 0) + ACE_THROW (CORBA::PolicyError (CORBA::BAD_POLICY_VALUE)); + + ACE_NEW_THROW_EX (policy, + POLICYTYPE (value), + CORBA::NO_MEMORY (TAO::VMCID, + CORBA::COMPLETED_NO)); + ACE_CHECK; + } } } |