diff options
author | William R. Otte <wotte@dre.vanderbilt.edu> | 2009-02-11 02:18:52 +0000 |
---|---|---|
committer | William R. Otte <wotte@dre.vanderbilt.edu> | 2009-02-11 02:18:52 +0000 |
commit | 28f6e4cfda9a246d3eeba7abdbee5917948db035 (patch) | |
tree | 60aaa2c0343d3bc5f3fa707054178dfb47de443e /flat/CIAO/examples/BasicSP/EC/controller.cpp | |
parent | e8d57db2a6332be9802c4e4b02d086e9f4a7c101 (diff) | |
download | ATCD-prism_import.tar.gz |
ChangeLogTag: Wed Feb 11 02:15:21 UTC 2009 William R. Otte <wotte@dre.vanderbilt.edu>prism_import
Diffstat (limited to 'flat/CIAO/examples/BasicSP/EC/controller.cpp')
-rw-r--r-- | flat/CIAO/examples/BasicSP/EC/controller.cpp | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/flat/CIAO/examples/BasicSP/EC/controller.cpp b/flat/CIAO/examples/BasicSP/EC/controller.cpp index af7af9f77ff..40a27d1e58e 100644 --- a/flat/CIAO/examples/BasicSP/EC/controller.cpp +++ b/flat/CIAO/examples/BasicSP/EC/controller.cpp @@ -16,9 +16,9 @@ int rate = 3; int turn_on = 1; int -parse_args (int argc, char *argv[]) +parse_args (int argc, ACE_TCHAR *argv[]) { - ACE_Get_Opt get_opts (argc, argv, "k:r:of"); + ACE_Get_Opt get_opts (argc, argv, ACE_TEXT("k:r:of")); int c; while ((c = get_opts ()) != -1) @@ -70,13 +70,12 @@ parse_args (int argc, char *argv[]) } int -ACE_TMAIN(int argc, ACE_TCHAR *argv[]) +ACE_TMAIN (int argc, ACE_TCHAR *argv[]) { try { // Initialize orb - CORBA::ORB_var orb = CORBA::ORB_init (argc, - argv); + CORBA::ORB_var orb = CORBA::ORB_init (argc, argv); if (parse_args (argc, argv) != 0) { |