summaryrefslogtreecommitdiff
path: root/TAO/orbsvcs/tests/Notify/Ordering/Notify_Structured_Push_Consumer.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'TAO/orbsvcs/tests/Notify/Ordering/Notify_Structured_Push_Consumer.cpp')
-rw-r--r--TAO/orbsvcs/tests/Notify/Ordering/Notify_Structured_Push_Consumer.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/TAO/orbsvcs/tests/Notify/Ordering/Notify_Structured_Push_Consumer.cpp b/TAO/orbsvcs/tests/Notify/Ordering/Notify_Structured_Push_Consumer.cpp
index 53c894b92b0..db220185da7 100644
--- a/TAO/orbsvcs/tests/Notify/Ordering/Notify_Structured_Push_Consumer.cpp
+++ b/TAO/orbsvcs/tests/Notify/Ordering/Notify_Structured_Push_Consumer.cpp
@@ -99,14 +99,14 @@ Notify_Structured_Push_Consumer::push_structured_event (
else
{
if (current >
- static_cast<CORBA::Short>(previous))
+ static_cast<CORBA::Short> (previous))
{
this->done_ = 1;
ACE_ERROR ((LM_ERROR,
ACE_TEXT ("ERROR: Priority Ordering failed.\n")));
}
}
- previous = static_cast<long>(current);
+ previous = static_cast<long> (current);
}
}
else if (this->order_policy_ == CosNotification::DeadlineOrder)
@@ -123,7 +123,7 @@ Notify_Structured_Push_Consumer::push_structured_event (
else
{
if (current <
- static_cast<TimeBase::TimeT>(previous))
+ static_cast<TimeBase::TimeT> (previous))
{
this->done_ = 1;
ACE_ERROR ((LM_ERROR,
@@ -131,7 +131,7 @@ Notify_Structured_Push_Consumer::push_structured_event (
}
}
# if defined (ACE_CONFIG_WIN32_H)
- previous = static_cast<long>(current);
+ previous = static_cast<long> (current);
# else
// Convert ACE_ULong_Long to 32-bit integer
previous = (current / 1);
@@ -162,14 +162,14 @@ Notify_Structured_Push_Consumer::push_structured_event (
else
{
if (current <
- static_cast<CORBA::ULong>(previous))
+ static_cast<CORBA::ULong> (previous))
{
this->done_ = 1;
ACE_ERROR ((LM_ERROR,
ACE_TEXT ("ERROR: FIFO Ordering failed.\n")));
}
}
- previous = static_cast<long>(current);
+ previous = static_cast<long> (current);
}
}
}