diff options
Diffstat (limited to 'TAO/tests/Param_Test/options.cpp')
-rw-r--r-- | TAO/tests/Param_Test/options.cpp | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/TAO/tests/Param_Test/options.cpp b/TAO/tests/Param_Test/options.cpp index c548bfeda8a..021832240ff 100644 --- a/TAO/tests/Param_Test/options.cpp +++ b/TAO/tests/Param_Test/options.cpp @@ -78,7 +78,7 @@ Options::parse_args (int argc, char **argv) case 'k': CORBA::string_free (this->ior_); - this->ior_ = CORBA::string_dup (get_opts.optarg); + this->ior_ = CORBA::string_copy (get_opts.optarg); break; case 'i': // invocation @@ -139,8 +139,6 @@ Options::parse_args (int argc, char **argv) this->test_type_ = Options::TEST_EXCEPTION; else if (!ACE_OS::strcmp (get_opts.optarg, "big_union")) this->test_type_ = Options::TEST_BIG_UNION; - else if (!ACE_OS::strcmp (get_opts.optarg, "complex_any")) - this->test_type_ = Options::TEST_COMPLEX_ANY; break; case '?': |