diff options
author | Johnny Willemsen <jwillemsen@remedy.nl> | 2006-02-15 07:21:55 +0000 |
---|---|---|
committer | Johnny Willemsen <jwillemsen@remedy.nl> | 2006-02-15 07:21:55 +0000 |
commit | 78f4036f251890fe0f9e388d760eb545e65b8801 (patch) | |
tree | b5f180978a8287891e86296c642b999cdfc2b76c /TAO/tests/OBV | |
parent | c57d7fd322eaf5c1dbe8e2ce73cd7f0730ee8f6a (diff) | |
download | ATCD-78f4036f251890fe0f9e388d760eb545e65b8801.tar.gz |
ChangeLogTag: Tue Feb 14 13:38:12 UTC 2006 Johnny Willemsen <jwillemsen@remedy.nl>
Diffstat (limited to 'TAO/tests/OBV')
-rw-r--r-- | TAO/tests/OBV/TC_Alignment/test_i.cpp | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/TAO/tests/OBV/TC_Alignment/test_i.cpp b/TAO/tests/OBV/TC_Alignment/test_i.cpp index 58831f5a132..b495f0bd3c1 100644 --- a/TAO/tests/OBV/TC_Alignment/test_i.cpp +++ b/TAO/tests/OBV/TC_Alignment/test_i.cpp @@ -2,8 +2,8 @@ #include "test_i.h" -ACE_RCSID (TC_Alignment, - test_i, +ACE_RCSID (TC_Alignment, + test_i, "$Id$") test_i::test_i (CORBA::ORB_ptr orb) @@ -16,10 +16,11 @@ test_i::get_value (CORBA::Long offset ACE_ENV_ARG_DECL) ACE_THROW_SPEC ((CORBA::SystemException)) { - CORBA::Any_var retval; - ACE_NEW_THROW_EX (retval, + CORBA::Any_ptr retval_ptr = 0; + ACE_NEW_THROW_EX (retval_ptr, CORBA::Any, CORBA::NO_MEMORY ()); + CORBA::Any_var retval = retval_ptr; switch (offset) { |