summaryrefslogtreecommitdiff
path: root/TAO/TAO_IDL
diff options
context:
space:
mode:
Diffstat (limited to 'TAO/TAO_IDL')
-rw-r--r--TAO/TAO_IDL/be/be_visitor_component/context_svh.cpp3
-rw-r--r--TAO/TAO_IDL/be/be_visitor_component/context_svs.cpp7
2 files changed, 6 insertions, 4 deletions
diff --git a/TAO/TAO_IDL/be/be_visitor_component/context_svh.cpp b/TAO/TAO_IDL/be/be_visitor_component/context_svh.cpp
index 8cdf4d5b23d..254f1d420aa 100644
--- a/TAO/TAO_IDL/be/be_visitor_component/context_svh.cpp
+++ b/TAO/TAO_IDL/be/be_visitor_component/context_svh.cpp
@@ -77,7 +77,8 @@ be_visitor_context_svh::visit_component (be_component *node)
os_ << lname << "_Context (" << be_idt_nl
<< "::Components::CCMHome_ptr h," << be_nl
<< "::CIAO::Container_ptr c," << be_nl
- << "PortableServer::Servant sv);" << be_uidt_nl << be_nl;
+ << "PortableServer::Servant sv," << be_nl
+ << "const char *id);" << be_uidt_nl << be_nl;
os_ << "virtual ~" << lname << "_Context (void);";
diff --git a/TAO/TAO_IDL/be/be_visitor_component/context_svs.cpp b/TAO/TAO_IDL/be/be_visitor_component/context_svs.cpp
index 4807cf24e52..d5f44fcb9ab 100644
--- a/TAO/TAO_IDL/be/be_visitor_component/context_svs.cpp
+++ b/TAO/TAO_IDL/be/be_visitor_component/context_svs.cpp
@@ -44,12 +44,13 @@ be_visitor_context_svs::visit_component (be_component *node)
<< be_idt << be_idt_nl
<< "::Components::CCMHome_ptr h," << be_nl
<< "::CIAO::Container_ptr c," << be_nl
- << "PortableServer::Servant sv)" << be_uidt_nl
- << ": ::CIAO::Context_Impl_Base (h, c)," << be_idt_nl
+ << "PortableServer::Servant sv," << be_uidt_nl
+ << "const char *id)" << be_uidt_nl
+ << ": ::CIAO::Context_Impl_Base (h, c, id)," << be_idt_nl
<< "::CIAO::Context_Impl<" << be_idt_nl
<< global << sname << "::CCM_"
<< lname << "_Context," << be_nl
- << "::" << node->full_name () << "> (h, c, sv)";
+ << "::" << node->full_name () << "> (h, c, sv, id)";
if (swapping_)
{