summaryrefslogtreecommitdiff
path: root/TAO/tao
diff options
context:
space:
mode:
authorparsons <parsons@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>2005-05-12 14:32:13 +0000
committerparsons <parsons@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>2005-05-12 14:32:13 +0000
commiteb72752f23563f31a81361b282b6192ccdd8b9d6 (patch)
tree85e84cadcb7e32e94890b673dc324b683603c839 /TAO/tao
parent87cd9c2615a24e7373a3886362b9016cf688e33c (diff)
downloadATCD-eb72752f23563f31a81361b282b6192ccdd8b9d6.tar.gz
ChangeLogTag: Thu May 12 09:07:34 2005 Jeff Parsons <j.parsons@vanderbilt.edu>
Diffstat (limited to 'TAO/tao')
-rw-r--r--TAO/tao/PortableServer/Var_Array_SArgument_T.cpp3
-rw-r--r--TAO/tao/Var_Array_Argument_T.cpp3
2 files changed, 4 insertions, 2 deletions
diff --git a/TAO/tao/PortableServer/Var_Array_SArgument_T.cpp b/TAO/tao/PortableServer/Var_Array_SArgument_T.cpp
index 4936ccef430..8197c3fb819 100644
--- a/TAO/tao/PortableServer/Var_Array_SArgument_T.cpp
+++ b/TAO/tao/PortableServer/Var_Array_SArgument_T.cpp
@@ -79,7 +79,8 @@ TAO::Out_Var_Array_SArgument_T<S_slice,S_var,S_forany>::marshal (
TAO_OutputCDR & cdr
)
{
- return cdr << this->x_.ptr ();
+ S_forany tmp (this->x_.ptr ());
+ return cdr << tmp;
}
#if TAO_HAS_INTERCEPTORS == 1
diff --git a/TAO/tao/Var_Array_Argument_T.cpp b/TAO/tao/Var_Array_Argument_T.cpp
index 591995eb163..c6116ff80f1 100644
--- a/TAO/tao/Var_Array_Argument_T.cpp
+++ b/TAO/tao/Var_Array_Argument_T.cpp
@@ -104,7 +104,8 @@ void
TAO::Out_Var_Array_Argument_T<S,S_slice,S_var,S_out,S_forany,S_tag>::
interceptor_param (Dynamic::Parameter & p)
{
- p.argument <<= this->x_;
+ S_forany tmp (this->x_);
+ p.argument <<= tmp;
p.mode = CORBA::PARAM_OUT;
}