diff options
author | Johnny Willemsen <jwillemsen@remedy.nl> | 2020-09-18 08:46:41 +0200 |
---|---|---|
committer | Johnny Willemsen <jwillemsen@remedy.nl> | 2020-09-18 08:46:41 +0200 |
commit | 6f78b0285ec9a20ccc8c626ff99e5df711a25e18 (patch) | |
tree | 007b3cf4129ecb433a642605b88ab8f5ca68a306 /TAO/TAO_IDL/be/be_visitor_structure_fwd/structure_fwd_ch.cpp | |
parent | 0eff81cbdb5089fc417afd9aeddf20a626e7512a (diff) | |
download | ATCD-6f78b0285ec9a20ccc8c626ff99e5df711a25e18.tar.gz |
Remove usage of narrow_from_decl/narrow_from_scope and replace them with dynamic_cast
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.cpp | 2 |
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); |