diff options
author | doccvs <doccvs@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 2000-09-13 18:16:11 +0000 |
---|---|---|
committer | doccvs <doccvs@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 2000-09-13 18:16:11 +0000 |
commit | ae55524587957c92bd747292dcbe6f6d0b851459 (patch) | |
tree | fd74b335d1ee8f8cbce575509e8376ccfd5e3ebb /TAO/tao/default_resource.cpp | |
parent | 4fa79c36cb5dc4435e7093fef8a7d272300ea8fb (diff) | |
download | ATCD-ae55524587957c92bd747292dcbe6f6d0b851459.tar.gz |
ChangeLogTag: Wed Sep 13 11:13:17 2000 Priyanka Gontla <pgontla@ece.uci.edu>pluggable_ior_parsing
Diffstat (limited to 'TAO/tao/default_resource.cpp')
-rw-r--r-- | TAO/tao/default_resource.cpp | 19 |
1 files changed, 7 insertions, 12 deletions
diff --git a/TAO/tao/default_resource.cpp b/TAO/tao/default_resource.cpp index ed1d6cdb519..b9148c97022 100644 --- a/TAO/tao/default_resource.cpp +++ b/TAO/tao/default_resource.cpp @@ -439,12 +439,9 @@ TAO_Default_Resource_Factory::get_parser_names (const char **&names, } } - if (tmp != 0) - { - this->parser_names_[index] = "CORBALOC_Parser"; - index++; - } - + this->parser_names_[index] = "CORBALOC_Parser"; + index++; + // CORBANAME_Parser tmp = ACE_Dynamic_Service<TAO_IOR_Parser>::instance ("CORBANAME_Parser"); @@ -463,13 +460,11 @@ TAO_Default_Resource_Factory::get_parser_names (const char **&names, } } - if (tmp != 0) - { - this->parser_names_[index] = "CORBANAME_Parser"; - index++; - } + this->parser_names_[index] = "CORBANAME_Parser"; + index++; + names = this->parser_names_; - + // number_of_names = this->parser_names_count_; number_of_names = index; |