summaryrefslogtreecommitdiff
path: root/TAO/orbsvcs/orbsvcs/Trader/Offer_Iterators_T.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'TAO/orbsvcs/orbsvcs/Trader/Offer_Iterators_T.cpp')
-rw-r--r--TAO/orbsvcs/orbsvcs/Trader/Offer_Iterators_T.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/TAO/orbsvcs/orbsvcs/Trader/Offer_Iterators_T.cpp b/TAO/orbsvcs/orbsvcs/Trader/Offer_Iterators_T.cpp
index 7c3f5af8b47..df773105007 100644
--- a/TAO/orbsvcs/orbsvcs/Trader/Offer_Iterators_T.cpp
+++ b/TAO/orbsvcs/orbsvcs/Trader/Offer_Iterators_T.cpp
@@ -43,7 +43,7 @@ max_left (ACE_ENV_SINGLE_ARG_DECL_NOT_USED)
ACE_THROW_SPEC ((CORBA::SystemException,
CosTrading::UnknownMaxLeft))
{
- return ACE_static_cast (CORBA::ULong, this->offer_ids_.size ());
+ return static_cast<CORBA::ULong> (this->offer_ids_.size ());
}
template <class MAP_LOCK_TYPE> CORBA::Boolean
@@ -57,7 +57,7 @@ next_n (CORBA::ULong n,
CORBA::ULong max_possible_offers_in_sequence =
(n < this->offer_ids_.size ()) ? n :
- ACE_static_cast (CORBA::ULong, this->offer_ids_.size ());
+ static_cast<CORBA::ULong> (this->offer_ids_.size ());
ACE_NEW_THROW_EX (offers,
CosTrading::OfferSeq,
@@ -89,7 +89,7 @@ next_n (CORBA::ULong n,
// Reset the length to the correct value
offers->length (ret_offers);
- return ACE_static_cast (CORBA::Boolean, ret_offers != 0);
+ return static_cast<CORBA::Boolean> (ret_offers != 0);
}
#endif /* TAO_REGISTER_OFFER_ITERATOR_C */