summaryrefslogtreecommitdiff
path: root/TAO/orbsvcs/IFR_Service/be_produce.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'TAO/orbsvcs/IFR_Service/be_produce.cpp')
-rw-r--r--TAO/orbsvcs/IFR_Service/be_produce.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/TAO/orbsvcs/IFR_Service/be_produce.cpp b/TAO/orbsvcs/IFR_Service/be_produce.cpp
index 3590aaad0f8..2774ca20bfb 100644
--- a/TAO/orbsvcs/IFR_Service/be_produce.cpp
+++ b/TAO/orbsvcs/IFR_Service/be_produce.cpp
@@ -151,7 +151,7 @@ BE_produce (void)
// Get the root node.
AST_Decl *d = idl_global->root ();
- AST_Root *root = AST_Root::narrow_from_decl (d);
+ AST_Root *root = dynamic_cast<AST_Root*> (d);
if (root == 0)
{