summaryrefslogtreecommitdiff
path: root/TAO/TAO_IDL/ast/ast_type.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'TAO/TAO_IDL/ast/ast_type.cpp')
-rw-r--r--TAO/TAO_IDL/ast/ast_type.cpp4
1 files changed, 1 insertions, 3 deletions
diff --git a/TAO/TAO_IDL/ast/ast_type.cpp b/TAO/TAO_IDL/ast/ast_type.cpp
index 899ab6257ca..f9cb40d2297 100644
--- a/TAO/TAO_IDL/ast/ast_type.cpp
+++ b/TAO/TAO_IDL/ast/ast_type.cpp
@@ -217,7 +217,7 @@ AST_Type::unaliased_type (void)
while (nt == AST_Decl::NT_typedef)
{
- td = AST_Typedef::narrow_from_decl (t);
+ td = dynamic_cast<AST_Typedef*> (t);
t = td->base_type ();
nt = t->node_type ();
}
@@ -542,5 +542,3 @@ AST_Type::destroy (void)
this->AST_Decl::destroy ();
}
-
-IMPL_NARROW_FROM_DECL(AST_Type)