diff options
author | Johnny Willemsen <jwillemsen@remedy.nl> | 2020-09-17 13:37:08 +0200 |
---|---|---|
committer | Johnny Willemsen <jwillemsen@remedy.nl> | 2020-09-17 13:37:08 +0200 |
commit | fdeff1b597fed3d27b975d0486ba4966a89b977b (patch) | |
tree | ef434018424594109d5d8a734892c457711b2173 /TAO/TAO_IDL/be/be_visitor_constant/constant_ch.cpp | |
parent | 0ca9c019335cde957877214b6ffb4328de4ca198 (diff) | |
download | ATCD-fdeff1b597fed3d27b975d0486ba4966a89b977b.tar.gz |
Remove manual narrow support and use dynamic_cast
Diffstat (limited to 'TAO/TAO_IDL/be/be_visitor_constant/constant_ch.cpp')
-rw-r--r-- | TAO/TAO_IDL/be/be_visitor_constant/constant_ch.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/TAO/TAO_IDL/be/be_visitor_constant/constant_ch.cpp b/TAO/TAO_IDL/be/be_visitor_constant/constant_ch.cpp index a8100df3ba0..7f682732403 100644 --- a/TAO/TAO_IDL/be/be_visitor_constant/constant_ch.cpp +++ b/TAO/TAO_IDL/be/be_visitor_constant/constant_ch.cpp @@ -46,7 +46,7 @@ be_visitor_constant_ch::visit_constant (be_constant *node) if (tdef != 0) { nt = tdef->node_type (); - be_typedef *td = be_typedef:: narrow_from_decl (tdef); + be_typedef *td = dynamic_cast<be_typedef*> (tdef); bnt = td->base_node_type (); } |