diff options
author | Johnny Willemsen <jwillemsen@remedy.nl> | 2005-11-23 14:07:54 +0000 |
---|---|---|
committer | Johnny Willemsen <jwillemsen@remedy.nl> | 2005-11-23 14:07:54 +0000 |
commit | 85d4962b4dd8c3ffa8367ec039b6ddb0134e63cb (patch) | |
tree | 01c9d4f50efb053b871a04a79bc77aef42378b12 /TAO/TAO_IDL | |
parent | b098f19b30048e96e0d9140d49e7faef5ed61a15 (diff) | |
download | ATCD-85d4962b4dd8c3ffa8367ec039b6ddb0134e63cb.tar.gz |
ChangeLogTag: Wed Nov 23 14:07:12 UTC 2005 Johnny Willemsen <jwillemsen@remedy.nl>
Diffstat (limited to 'TAO/TAO_IDL')
-rw-r--r-- | TAO/TAO_IDL/be/be_visitor_valuebox/valuebox_ci.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/TAO/TAO_IDL/be/be_visitor_valuebox/valuebox_ci.cpp b/TAO/TAO_IDL/be/be_visitor_valuebox/valuebox_ci.cpp index 6dd4b94aa4d..7bc33963f7a 100644 --- a/TAO/TAO_IDL/be/be_visitor_valuebox/valuebox_ci.cpp +++ b/TAO/TAO_IDL/be/be_visitor_valuebox/valuebox_ci.cpp @@ -750,7 +750,7 @@ be_visitor_valuebox_ci::emit_default_constructor_alloc (be_decl *node) *os << "ACE_INLINE " << be_nl << vb_node->name () << "::" << vb_node->local_name () << " (void)" << be_nl << "{" << be_idt_nl - << node->full_name () << "* p;" << be_nl + << node->full_name () << "* p = 0;" << be_nl << "ACE_NEW (" << be_idt_nl << "p," << be_nl << node->full_name () << " ());" << be_uidt_nl @@ -805,7 +805,7 @@ be_visitor_valuebox_ci::emit_constructor_one_arg_alloc (be_decl *node) << vb_node->name () << "::" << vb_node->local_name () << " (const " << node->full_name () << "& value)" << be_nl << "{" << be_idt_nl - << node->full_name () << "* p;" << be_nl + << node->full_name () << "* p = 0;" << be_nl << "ACE_NEW (" << be_idt_nl << "p," << be_nl << node->full_name () << " (value));" << be_uidt_nl @@ -849,7 +849,7 @@ be_visitor_valuebox_ci::emit_copy_constructor_alloc (be_decl *node) << " ACE_NESTED_CLASS ( ::CORBA, DefaultValueRefCountBase) (val)" << be_uidt_nl << "{" << be_idt_nl - << node->full_name () << "* p;" << be_nl + << node->full_name () << "* p = 0;" << be_nl << "ACE_NEW (" << be_idt_nl << "p," << be_nl << node->full_name () << " (val._pd_value.in ()));" << be_uidt_nl @@ -890,7 +890,7 @@ be_visitor_valuebox_ci::emit_assignment_alloc (be_decl *node) << vb_node->name () << "::operator= (const " << node->full_name () << "& value)" << be_nl << "{" << be_idt_nl - << node->full_name () << "* p;" << be_nl + << node->full_name () << "* p = 0;" << be_nl << "ACE_NEW_RETURN (" << be_idt_nl << "p," << be_nl << node->full_name () << " (value)," << be_nl @@ -928,7 +928,7 @@ be_visitor_valuebox_ci::emit_accessor_modifier (be_decl *node) << vb_node->name () << "::_value (const " << node->full_name () << "& value)" << be_nl << "{" << be_idt_nl - << node->full_name () << "* p;" << be_nl + << node->full_name () << "* p = 0;" << be_nl << "ACE_NEW (" << be_idt_nl << "p," << be_nl << node->full_name () << " (value));" << be_uidt_nl |