diff options
author | Johnny Willemsen <jwillemsen@remedy.nl> | 2007-01-24 15:39:09 +0000 |
---|---|---|
committer | Johnny Willemsen <jwillemsen@remedy.nl> | 2007-01-24 15:39:09 +0000 |
commit | c801f87e59c00f72bdeb5ce7bd0d276674665bac (patch) | |
tree | 70bff03d1cf156ecf05ee4c5c338d8ce423e64ee /TAO/tests/Portable_Interceptors/PolicyFactory/Policy.cpp | |
parent | 98c0b37d4714ff774fc3ada8c9ee893c719af714 (diff) | |
download | ATCD-c801f87e59c00f72bdeb5ce7bd0d276674665bac.tar.gz |
Wed Jan 24 14:00:12 UTC 2007 Johnny Willemsen <jwillemsen@remedy.nl>
Diffstat (limited to 'TAO/tests/Portable_Interceptors/PolicyFactory/Policy.cpp')
-rw-r--r-- | TAO/tests/Portable_Interceptors/PolicyFactory/Policy.cpp | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/TAO/tests/Portable_Interceptors/PolicyFactory/Policy.cpp b/TAO/tests/Portable_Interceptors/PolicyFactory/Policy.cpp index 5c9266495e9..f8838b1e9f4 100644 --- a/TAO/tests/Portable_Interceptors/PolicyFactory/Policy.cpp +++ b/TAO/tests/Portable_Interceptors/PolicyFactory/Policy.cpp @@ -19,34 +19,33 @@ Policy::~Policy (void) } CORBA::ULong -Policy::value (ACE_ENV_SINGLE_ARG_DECL_NOT_USED) +Policy::value (void) ACE_THROW_SPEC ((CORBA::SystemException)) { return this->value_; } CORBA::PolicyType -Policy::policy_type (ACE_ENV_SINGLE_ARG_DECL_NOT_USED) +Policy::policy_type (void) ACE_THROW_SPEC ((CORBA::SystemException)) { return Test::POLICY_TYPE; } CORBA::Policy_ptr -Policy::copy (ACE_ENV_SINGLE_ARG_DECL) +Policy::copy (void) ACE_THROW_SPEC ((CORBA::SystemException)) { CORBA::Policy_ptr p; ACE_NEW_THROW_EX (p, Policy (this->value_), CORBA::NO_MEMORY ()); - ACE_CHECK_RETURN (CORBA::Policy::_nil ()); return p; } void -Policy::destroy (ACE_ENV_SINGLE_ARG_DECL_NOT_USED) +Policy::destroy (void) ACE_THROW_SPEC ((CORBA::SystemException)) { } |