summaryrefslogtreecommitdiff
path: root/TAO/examples/Event_Comm/Event_Comm_i.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'TAO/examples/Event_Comm/Event_Comm_i.cpp')
-rw-r--r--TAO/examples/Event_Comm/Event_Comm_i.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/TAO/examples/Event_Comm/Event_Comm_i.cpp b/TAO/examples/Event_Comm/Event_Comm_i.cpp
index 49db2ba7bda..033d1f0d8ae 100644
--- a/TAO/examples/Event_Comm/Event_Comm_i.cpp
+++ b/TAO/examples/Event_Comm/Event_Comm_i.cpp
@@ -350,7 +350,7 @@ Notifier_i::push (const Event_Comm::Event &event
ACE_ASSERT (consumer_ref != 0);
#if defined (ACE_HAS_REGEX)
- char *regexp = ACE_const_cast (char *, me->int_id_->regexp ());
+ char *regexp = const_cast<char *> (me->int_id_->regexp ());
ACE_ASSERT (regexp);
const char *criteria = me->int_id_->criteria ();