summaryrefslogtreecommitdiff
path: root/TAO/TAO_IDL/be/be_visitor_constant/constant_ch.cpp
diff options
context:
space:
mode:
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.cpp2
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 ();
}