summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--TAO/TAO_IDL/be/be_visitor_connector/connector_dds_exh.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/TAO/TAO_IDL/be/be_visitor_connector/connector_dds_exh.cpp b/TAO/TAO_IDL/be/be_visitor_connector/connector_dds_exh.cpp
index e72e278c159..37275aabd0d 100644
--- a/TAO/TAO_IDL/be/be_visitor_connector/connector_dds_exh.cpp
+++ b/TAO/TAO_IDL/be/be_visitor_connector/connector_dds_exh.cpp
@@ -288,6 +288,7 @@ be_visitor_connector_dds_exh::gen_dds_traits (AST_Decl *datatype)
os_ << be_nl
<< "struct " << datatype->flat_name () << "_DDS_Traits" << be_nl
<< "{" << be_idt_nl
+ << "static const char* get_type_name () { return \"" << dt_name << "\"; };" << be_nl
<< "typedef ::" << dt_name << " value_type;" << be_nl
<< "typedef ::" << dt_name;