summaryrefslogtreecommitdiff
path: root/ace/Future_Set.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'ace/Future_Set.cpp')
-rw-r--r--ace/Future_Set.cpp6
1 files changed, 2 insertions, 4 deletions
diff --git a/ace/Future_Set.cpp b/ace/Future_Set.cpp
index 5b0069fac4f..feac0b0d54f 100644
--- a/ace/Future_Set.cpp
+++ b/ace/Future_Set.cpp
@@ -85,7 +85,7 @@ template <class T> void
ACE_Future_Set<T>::update (const ACE_Future<T> &future)
{
ACE_Message_Block *mb;
- FUTURE &local_future = ACE_const_cast (ACE_Future<T> &, future);
+ FUTURE &local_future = const_cast<ACE_Future<T> &> (future);
ACE_NEW (mb,
ACE_Message_Block ((char *) local_future.get_rep (), 0));
@@ -109,9 +109,7 @@ ACE_Future_Set<T>::next_readable (ACE_Future<T> &future,
tv) != -1)
{
// Extract future rep from the message block.
- future_rep =
- ACE_reinterpret_cast (FUTURE_REP *,
- mb->base ());
+ future_rep = reinterpret_cast<FUTURE_REP *> (mb->base ());
// Delete the message block.
mb->release ();