summaryrefslogtreecommitdiff
path: root/TAO/tests/OBV
diff options
context:
space:
mode:
authorJohnny Willemsen <jwillemsen@remedy.nl>2006-02-15 07:21:55 +0000
committerJohnny Willemsen <jwillemsen@remedy.nl>2006-02-15 07:21:55 +0000
commit78f4036f251890fe0f9e388d760eb545e65b8801 (patch)
treeb5f180978a8287891e86296c642b999cdfc2b76c /TAO/tests/OBV
parentc57d7fd322eaf5c1dbe8e2ce73cd7f0730ee8f6a (diff)
downloadATCD-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.cpp9
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)
{