diff options
author | jtc <jtc@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 2005-01-25 19:09:17 +0000 |
---|---|---|
committer | jtc <jtc@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 2005-01-25 19:09:17 +0000 |
commit | baaf101be37eb40c5f31b8f39555e2aa888dc586 (patch) | |
tree | 600212efe010ca3044779d132b160038d5d2a47b /TAO/orbsvcs/IFR_Service/ifr_adding_visitor_union.cpp | |
parent | 59085e5fc008e20afd74ed789342aea5157b7258 (diff) | |
download | ATCD-baaf101be37eb40c5f31b8f39555e2aa888dc586.tar.gz |
ChangeLogTag: Tue Jan 25 09:59:28 2005 J.T. Conklin <jtc@acorntoolworks.com>
Diffstat (limited to 'TAO/orbsvcs/IFR_Service/ifr_adding_visitor_union.cpp')
-rw-r--r-- | TAO/orbsvcs/IFR_Service/ifr_adding_visitor_union.cpp | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/TAO/orbsvcs/IFR_Service/ifr_adding_visitor_union.cpp b/TAO/orbsvcs/IFR_Service/ifr_adding_visitor_union.cpp index 673728b8c18..21460b85e59 100644 --- a/TAO/orbsvcs/IFR_Service/ifr_adding_visitor_union.cpp +++ b/TAO/orbsvcs/IFR_Service/ifr_adding_visitor_union.cpp @@ -44,8 +44,7 @@ ifr_adding_visitor_union::visit_scope (UTL_Scope *node) AST_Union *u = AST_Union::narrow_from_scope (node); - CORBA::ULong nfields = ACE_static_cast (CORBA::ULong, - u->nfields ()); + CORBA::ULong nfields = static_cast<CORBA::ULong>(u->nfields ()); this->members_.length (nfields); @@ -305,8 +304,7 @@ ifr_adding_visitor_union::visit_enum (AST_Enum *node) // If not, create a new entry. if (CORBA::is_nil (prev_def.in ())) { - CORBA::ULong member_count = ACE_static_cast (CORBA::ULong, - node->member_count ()); + CORBA::ULong member_count = static_cast<CORBA::ULong>(node->member_count ()); CORBA::EnumMemberSeq members (member_count); members.length (member_count); |