summaryrefslogtreecommitdiff
path: root/TAO/TAO_IDL/be/be_visitor_structure_fwd/structure_fwd_ch.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'TAO/TAO_IDL/be/be_visitor_structure_fwd/structure_fwd_ch.cpp')
-rw-r--r--TAO/TAO_IDL/be/be_visitor_structure_fwd/structure_fwd_ch.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/TAO/TAO_IDL/be/be_visitor_structure_fwd/structure_fwd_ch.cpp b/TAO/TAO_IDL/be/be_visitor_structure_fwd/structure_fwd_ch.cpp
index eef782f6182..5c3cc5ab4c3 100644
--- a/TAO/TAO_IDL/be/be_visitor_structure_fwd/structure_fwd_ch.cpp
+++ b/TAO/TAO_IDL/be/be_visitor_structure_fwd/structure_fwd_ch.cpp
@@ -33,7 +33,7 @@ be_visitor_structure_fwd_ch::visit_structure_fwd (be_structure_fwd *node)
TAO_OutStream *os = this->ctx_->stream ();
be_structure *fd =
- be_structure::narrow_from_decl (node->full_definition ());
+ dynamic_cast<be_structure*> (node->full_definition ());
// This will be a no-op if it has already been done for this node.
fd->gen_common_varout (os);