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_valuetype/valuetype_ss.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_valuetype/valuetype_ss.cpp')
-rw-r--r-- | TAO/TAO_IDL/be/be_visitor_valuetype/valuetype_ss.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/TAO/TAO_IDL/be/be_visitor_valuetype/valuetype_ss.cpp b/TAO/TAO_IDL/be/be_visitor_valuetype/valuetype_ss.cpp index 9f83d277dfb..bbfe3041e28 100644 --- a/TAO/TAO_IDL/be/be_visitor_valuetype/valuetype_ss.cpp +++ b/TAO/TAO_IDL/be/be_visitor_valuetype/valuetype_ss.cpp @@ -102,7 +102,7 @@ be_visitor_valuetype_ss::visit_valuetype (be_valuetype *node) } else { - be_interface *bd = be_interface::narrow_from_decl (concrete); + be_interface *bd = dynamic_cast<be_interface*> (concrete); *os << bd->full_skel_name () << " (rhs)," << be_nl; } |