summaryrefslogtreecommitdiff
path: root/TAO/orbsvcs/tests/Notify/Destroy/main.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'TAO/orbsvcs/tests/Notify/Destroy/main.cpp')
-rw-r--r--TAO/orbsvcs/tests/Notify/Destroy/main.cpp5
1 files changed, 4 insertions, 1 deletions
diff --git a/TAO/orbsvcs/tests/Notify/Destroy/main.cpp b/TAO/orbsvcs/tests/Notify/Destroy/main.cpp
index 09944124843..fd925c0b1ee 100644
--- a/TAO/orbsvcs/tests/Notify/Destroy/main.cpp
+++ b/TAO/orbsvcs/tests/Notify/Destroy/main.cpp
@@ -3,15 +3,18 @@
#include "../lib/Notify_Test_Client.h"
#include "orbsvcs/NotifyExtC.h"
#include "ace/OS_main.h"
+#include "ace/Argv_Type_Converter.h"
int
ACE_TMAIN (int argc, char *argv[])
{
+ ACE_Argv_Type_Converter convert (argc, argv);
+
ACE_TRY_NEW_ENV
{
// Initialize the base class.
Notify_Test_Client client;
- client.init (argc, argv ACE_ENV_ARG_PARAMETER);
+ client.init (convert.get_argc(), convert.get_ASCII_argv() ACE_ENV_ARG_PARAMETER);
ACE_CHECK_RETURN (-1);
CosNotifyChannelAdmin::EventChannelFactory_ptr ecf = client.notify_factory ();