summaryrefslogtreecommitdiff
path: root/TAO/tests/BiDirectional_MultipleORB/destroy.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'TAO/tests/BiDirectional_MultipleORB/destroy.cpp')
-rw-r--r--TAO/tests/BiDirectional_MultipleORB/destroy.cpp9
1 files changed, 6 insertions, 3 deletions
diff --git a/TAO/tests/BiDirectional_MultipleORB/destroy.cpp b/TAO/tests/BiDirectional_MultipleORB/destroy.cpp
index d4b0af3a3b9..8bd145f9aa8 100644
--- a/TAO/tests/BiDirectional_MultipleORB/destroy.cpp
+++ b/TAO/tests/BiDirectional_MultipleORB/destroy.cpp
@@ -21,6 +21,7 @@
#include "tao/PortableServer/PortableServer.h"
#include "tao/AnyTypeCode/Any.h"
#include "tao/BiDir_GIOP/BiDirGIOP.h"
+#include "ace/Argv_Type_Converter.h"
ACE_RCSID(BiDir_Multiple_ORB, destroy, "$Id$")
@@ -107,16 +108,18 @@ test_with_bidir_poa (int argc,
}
int
-main (int argc, char **argv)
+ACE_TMAIN (int argc, ACE_TCHAR **argv)
{
+ ACE_Argv_Type_Converter convert (argc, argv);
+
int result = 0;
for (int i=0; i<10; i++)
{
- result = test_with_bidir_poa (argc, argv, "poa_1", 1);
+ result = test_with_bidir_poa (convert.get_argc(), convert.get_ASCII_argv(), "poa_1", 1);
ACE_ASSERT (result == 0);
- result = test_with_bidir_poa (argc, argv, "poa_2", 1);
+ result = test_with_bidir_poa (convert.get_argc(), convert.get_ASCII_argv(), "poa_2", 1);
ACE_ASSERT (result == 0);
}
ACE_DEBUG ((LM_DEBUG, "Completed OK\n"));