diff options
-rw-r--r-- | TAO/examples/OBV/Simple_util.cpp | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/TAO/examples/OBV/Simple_util.cpp b/TAO/examples/OBV/Simple_util.cpp index f9d8dc32c05..4955e621d89 100644 --- a/TAO/examples/OBV/Simple_util.cpp +++ b/TAO/examples/OBV/Simple_util.cpp @@ -200,7 +200,7 @@ Client<InterfaceObj, Var>::parse_args (void) TAO_debug_level++; break; case 'k': // ior provide on command line - this->ior_ = ACE_OS::strdup (get_opts.opt_arg ()); + this->ior_ = ACE_OS::strdup (ACE_TEXT_ALWAYS_CHAR(get_opts.opt_arg ())); break; case 'f': // read the IOR from the file. result = this->read_ior (get_opts.opt_arg ()); @@ -246,8 +246,6 @@ Client<InterfaceObj, Var>::init (const char *name, if (this->parse_args () == -1) return -1; - - if(this->ior_ != 0) { CORBA::Object_var server_object = |