diff options
Diffstat (limited to 'TAO/orbsvcs/tests/Log/Basic_Log_Test/Basic_Log_Test.cpp')
-rw-r--r-- | TAO/orbsvcs/tests/Log/Basic_Log_Test/Basic_Log_Test.cpp | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/TAO/orbsvcs/tests/Log/Basic_Log_Test/Basic_Log_Test.cpp b/TAO/orbsvcs/tests/Log/Basic_Log_Test/Basic_Log_Test.cpp index d7123478053..ef980bfa7f0 100644 --- a/TAO/orbsvcs/tests/Log/Basic_Log_Test/Basic_Log_Test.cpp +++ b/TAO/orbsvcs/tests/Log/Basic_Log_Test/Basic_Log_Test.cpp @@ -1,8 +1,11 @@ #include "Basic_Log_Test.h" +#include "orbsvcs/Time_Utilities.h" + #include "tao/debug.h" #include "ace/Get_Opt.h" +#include "ace/Argv_Type_Converter.h" #include "ace/Log_Msg.h" #include "ace/SString.h" #include "ace/OS_NS_stdio.h" @@ -34,8 +37,7 @@ BasicLog_Test::init (int argc, char *argv[]) ACE_TRY { // Initialize the ORB - orb_ = CORBA::ORB_init (argc, - argv, + orb_ = CORBA::ORB_init (argc, argv, "internet" ACE_ENV_ARG_PARAMETER); ACE_TRY_CHECK; @@ -542,7 +544,7 @@ BasicLog_Test::test_query(CORBA::ULong numberOfRecordsToWrite) int BasicLog_Test::parse_args (int argc, char *argv[]) { - ACE_Get_Opt get_opts (argc, argv, "di"); + ACE_Get_Arg_Opt<char> get_opts (argc, argv, "di"); int c; while ((c = get_opts ()) != -1) |