summaryrefslogtreecommitdiff
path: root/TAO/orbsvcs/tests/FT_App/StubFaultConsumer.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'TAO/orbsvcs/tests/FT_App/StubFaultConsumer.cpp')
-rw-r--r--TAO/orbsvcs/tests/FT_App/StubFaultConsumer.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/TAO/orbsvcs/tests/FT_App/StubFaultConsumer.cpp b/TAO/orbsvcs/tests/FT_App/StubFaultConsumer.cpp
index f4b93be77fa..4ef8d084d55 100644
--- a/TAO/orbsvcs/tests/FT_App/StubFaultConsumer.cpp
+++ b/TAO/orbsvcs/tests/FT_App/StubFaultConsumer.cpp
@@ -258,10 +258,10 @@ void StubFaultConsumer::push_structured_event(
"FaultConsumer: Header EventType domain: %s\n"
"FaultConsumer: Header EventType type: %s\n"
"FaultConsumer: Header EventName: %s\n",
- ACE_static_cast (unsigned int, this->notifications_),
- ACE_static_cast (const char *, notification.header.fixed_header.event_type.domain_name),
- ACE_static_cast (const char *, notification.header.fixed_header.event_type.type_name),
- ACE_static_cast (const char *, notification.header.fixed_header.event_name)
+ static_cast<unsigned int>(this->notifications_),
+ static_cast<const char *>(notification.header.fixed_header.event_type.domain_name),
+ static_cast<const char *>(notification.header.fixed_header.event_type.type_name),
+ static_cast<const char *>(notification.header.fixed_header.event_name)
));
const CosNotification::FilterableEventBody & filterable = notification.filterable_data;
@@ -270,7 +270,7 @@ void StubFaultConsumer::push_structured_event(
{
const CosNotification::Property & property = filterable[nProp];
- const char * property_name = ACE_static_cast (const char *, property.name);
+ const char * property_name = static_cast<const char *>(property.name);
const char * value = "<unknown>";
if (property.value >>= value )
{