summaryrefslogtreecommitdiff
path: root/TAO/tao/Var_Size_Argument_T.cpp
diff options
context:
space:
mode:
authorelliott_c <ocielliottc@users.noreply.github.com>2006-07-17 14:42:07 +0000
committerelliott_c <ocielliottc@users.noreply.github.com>2006-07-17 14:42:07 +0000
commit90e82cfdc6a1431e0de85ce4e4d4ec7c2b4a4bda (patch)
tree8d4caf5c22cd4c69e8a455cb79683d909be7122c /TAO/tao/Var_Size_Argument_T.cpp
parent9feb4921ca05be6405be9a33c61137b829ebd925 (diff)
downloadATCD-90e82cfdc6a1431e0de85ce4e4d4ec7c2b4a4bda.tar.gz
ChangeLogTag: Mon Jul 17 14:40:43 UTC 2006 Chad Elliott <elliott_c@ociweb.com>
Diffstat (limited to 'TAO/tao/Var_Size_Argument_T.cpp')
-rw-r--r--TAO/tao/Var_Size_Argument_T.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/TAO/tao/Var_Size_Argument_T.cpp b/TAO/tao/Var_Size_Argument_T.cpp
index 570c37ceb20..a185d49ed28 100644
--- a/TAO/tao/Var_Size_Argument_T.cpp
+++ b/TAO/tao/Var_Size_Argument_T.cpp
@@ -78,7 +78,11 @@ TAO::Out_Var_Size_Argument_T<S,Insert_Policy>::demarshal (
TAO_InputCDR & cdr
)
{
+#if defined (ACE_HAS_NEW_NOTHROW)
+ this->x_ = new (ACE_nothrow) S;
+#else
this->x_ = new S;
+#endif /* ACE_HAS_NEW_NOTHROW */
return cdr >> *this->x_;
}