summaryrefslogtreecommitdiff
path: root/TAO/TAO_IDL/be/be_visitor_exception/cdr_op_ch.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'TAO/TAO_IDL/be/be_visitor_exception/cdr_op_ch.cpp')
-rw-r--r--TAO/TAO_IDL/be/be_visitor_exception/cdr_op_ch.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/TAO/TAO_IDL/be/be_visitor_exception/cdr_op_ch.cpp b/TAO/TAO_IDL/be/be_visitor_exception/cdr_op_ch.cpp
index 41a1b7d3846..1910de4e68e 100644
--- a/TAO/TAO_IDL/be/be_visitor_exception/cdr_op_ch.cpp
+++ b/TAO/TAO_IDL/be/be_visitor_exception/cdr_op_ch.cpp
@@ -47,7 +47,7 @@ be_visitor_exception_cdr_op_ch::visit_exception (be_exception *node)
if (node->cli_hdr_cdr_op_gen () || node->imported ())
return 0;
- TAO_OutStream *os = tao_cg->client_header ();
+ TAO_OutStream *os = this->ctx_->stream ();
// generate the Cdr <<= and >>= operator declarations
os->indent ();