summaryrefslogtreecommitdiff
path: root/TAO/TAO_IDL/be/be_visitor_typecode/struct_typecode.cpp
diff options
context:
space:
mode:
authorOssama Othman <ossama-othman@users.noreply.github.com>2005-03-26 02:11:04 +0000
committerOssama Othman <ossama-othman@users.noreply.github.com>2005-03-26 02:11:04 +0000
commitc3af600c52303861a0e9ca76543311580b5f26e8 (patch)
tree618680ad703aaef129eeb76bf2860222748fbb72 /TAO/TAO_IDL/be/be_visitor_typecode/struct_typecode.cpp
parent66cbf514d41c48e0990fe73eb1800b7eb8ebce82 (diff)
downloadATCD-c3af600c52303861a0e9ca76543311580b5f26e8.tar.gz
*** empty log message ***
Diffstat (limited to 'TAO/TAO_IDL/be/be_visitor_typecode/struct_typecode.cpp')
-rw-r--r--TAO/TAO_IDL/be/be_visitor_typecode/struct_typecode.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/TAO/TAO_IDL/be/be_visitor_typecode/struct_typecode.cpp b/TAO/TAO_IDL/be/be_visitor_typecode/struct_typecode.cpp
index 8756f70e3fc..5a1620df2f3 100644
--- a/TAO/TAO_IDL/be/be_visitor_typecode/struct_typecode.cpp
+++ b/TAO/TAO_IDL/be/be_visitor_typecode/struct_typecode.cpp
@@ -42,6 +42,8 @@ TAO::be_visitor_struct_typecode::visit_structure (AST_Structure * node)
if (node->nfields () == 0)
{
+ // Should only be possible for user exceptions with no fields.
+
os << " * const " << fields_name.c_str () << " = 0;" << be_nl;
}
else