summaryrefslogtreecommitdiff
path: root/TAO/orbsvcs/examples/Log/RTEvent/RTEvent_Consumer.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'TAO/orbsvcs/examples/Log/RTEvent/RTEvent_Consumer.cpp')
-rw-r--r--TAO/orbsvcs/examples/Log/RTEvent/RTEvent_Consumer.cpp5
1 files changed, 4 insertions, 1 deletions
diff --git a/TAO/orbsvcs/examples/Log/RTEvent/RTEvent_Consumer.cpp b/TAO/orbsvcs/examples/Log/RTEvent/RTEvent_Consumer.cpp
index a9ce5387a62..6dff34ef7b7 100644
--- a/TAO/orbsvcs/examples/Log/RTEvent/RTEvent_Consumer.cpp
+++ b/TAO/orbsvcs/examples/Log/RTEvent/RTEvent_Consumer.cpp
@@ -2,6 +2,7 @@
#include "orbsvcs/RtecEventChannelAdminC.h"
#include "orbsvcs/Event_Service_Constants.h"
#include "ace/OS_main.h"
+#include "ace/Argv_Type_Converter.h"
ACE_RCSID (RTEvent,
RTEvent_Consumer,
@@ -13,9 +14,11 @@ ACE_RCSID (RTEvent,
int
ACE_TMAIN (int argc, ACE_TCHAR *argv[])
{
+ ACE_Argv_Type_Converter convert (argc, argv);
+
Consumer consumer;
- return consumer.run (argc, argv);
+ return consumer.run (convert.get_argc(), convert.get_ASCII_argv());
}
// ****************************************************************