diff options
Diffstat (limited to 'TAO/TAO_IDL/be/be_structure.cpp')
-rw-r--r-- | TAO/TAO_IDL/be/be_structure.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/TAO/TAO_IDL/be/be_structure.cpp b/TAO/TAO_IDL/be/be_structure.cpp index 75224d09216..06a9f79708d 100644 --- a/TAO/TAO_IDL/be/be_structure.cpp +++ b/TAO/TAO_IDL/be/be_structure.cpp @@ -81,7 +81,7 @@ be_structure::be_structure (AST_Decl::NodeType nt, void be_structure::redefine (AST_Structure *from) { - be_structure *bs = be_structure::narrow_from_decl (from); + be_structure *bs = dynamic_cast<be_structure*> (from); this->common_varout_gen_ = bs->common_varout_gen_; this->AST_Structure::redefine (from); } @@ -111,7 +111,7 @@ be_structure::gen_ostream_operator (TAO_OutStream *os, for (long i = 0; i < n; ++i) { - be_field *f = be_field::narrow_from_decl (this->pd_decls[i]); + be_field *f = dynamic_cast<be_field*> (this->pd_decls[i]); // We don't want any decls, just members. if (f == 0) |