summaryrefslogtreecommitdiff
path: root/TAO/TAO_IDL/fe/fe_init.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'TAO/TAO_IDL/fe/fe_init.cpp')
-rw-r--r--TAO/TAO_IDL/fe/fe_init.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/TAO/TAO_IDL/fe/fe_init.cpp b/TAO/TAO_IDL/fe/fe_init.cpp
index ce7b65beb8b..65425c5402a 100644
--- a/TAO/TAO_IDL/fe/fe_init.cpp
+++ b/TAO/TAO_IDL/fe/fe_init.cpp
@@ -86,7 +86,7 @@ fe_populate_global_scope (void)
AST_PredefinedType *pdt = 0;
AST_Root *root =
- AST_Root::narrow_from_scope (idl_global->root ());
+ dynamic_cast<AST_Root*> (idl_global->root ());
Identifier void_id ("void");
UTL_ScopedName void_name (&void_id, 0);