diff options
author | coryan <coryan@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 1999-05-26 03:17:15 +0000 |
---|---|---|
committer | coryan <coryan@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 1999-05-26 03:17:15 +0000 |
commit | 2de4a63dc6066f0b4376ac8053685043c1822a60 (patch) | |
tree | c1cf4521234420324bfa55bc4c83fab66b8deb07 | |
parent | 69286069909f5773cd5451d37710ec158e38904c (diff) | |
download | ATCD-2de4a63dc6066f0b4376ac8053685043c1822a60.tar.gz |
Minor fixes so it would compile on Solaris/SunCC
-rw-r--r-- | TAO/tao/Pluggable.cpp | 6 | ||||
-rw-r--r-- | TAO/tao/params.cpp | 8 |
2 files changed, 5 insertions, 9 deletions
diff --git a/TAO/tao/Pluggable.cpp b/TAO/tao/Pluggable.cpp index 304cacc572c..e22614b7015 100644 --- a/TAO/tao/Pluggable.cpp +++ b/TAO/tao/Pluggable.cpp @@ -281,11 +281,9 @@ TAO_Connector::make_mprofile (const char *string, CORBA::ULong profile_count = 1; // Number of endpoints in the IOR (initialized to 1) - for (size_t i = 0; - i < ior.length (); - ++i) + for (size_t j = 0; j != ior.length (); ++j) { - if (ior[i] == endpoint_delimiter) + if (ior[j] == endpoint_delimiter) profile_count++; } diff --git a/TAO/tao/params.cpp b/TAO/tao/params.cpp index 8059173c75e..0c0bf82167a 100644 --- a/TAO/tao/params.cpp +++ b/TAO/tao/params.cpp @@ -27,7 +27,7 @@ TAO_ORB_Parameters::~TAO_ORB_Parameters (void) delete this->ior_lookup_table_; } -int +int TAO_ORB_Parameters::parse_endpoints (ACE_CString &endpoints, TAO_EndpointSet &endpoints_list) { @@ -57,11 +57,9 @@ TAO_ORB_Parameters::parse_endpoints (ACE_CString &endpoints, { int endpoints_count = 1; - for (int i = 0; - i < length; - ++i) + for (int j = 0; j != length; ++j) { - if (endpoints[i] == endpoints_delimiter) + if (endpoints[j] == endpoints_delimiter) endpoints_count++; } |