summaryrefslogtreecommitdiff
path: root/TAO/TAO_IDL/be/be_attribute.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'TAO/TAO_IDL/be/be_attribute.cpp')
-rw-r--r--TAO/TAO_IDL/be/be_attribute.cpp6
1 files changed, 2 insertions, 4 deletions
diff --git a/TAO/TAO_IDL/be/be_attribute.cpp b/TAO/TAO_IDL/be/be_attribute.cpp
index 3e0931ae0bf..27c06d3ed6b 100644
--- a/TAO/TAO_IDL/be/be_attribute.cpp
+++ b/TAO/TAO_IDL/be/be_attribute.cpp
@@ -44,16 +44,14 @@ be_attribute::be_attribute (bool ro,
{
// For the return types of the two operations
// generated from this attribute.
- be_util::set_arg_seen_bit (be_type::narrow_from_decl (ft));
+ be_util::set_arg_seen_bit (dynamic_cast<be_type*> (ft));
}
}
be_type *
be_attribute::field_type (void) const
{
- return
- be_type::narrow_from_decl (
- this->AST_Attribute::field_type ());
+ return dynamic_cast<be_type*> (this->AST_Attribute::field_type ());
}
int