summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohnny Willemsen <jwillemsen@remedy.nl>2021-03-08 16:54:58 +0100
committerJohnny Willemsen <jwillemsen@remedy.nl>2021-03-08 16:54:58 +0100
commit961468ea128b786930d63678f598b1871569f4f4 (patch)
tree030e212c4b60a0e5b92a8ca46db1ce1fca335554
parent791509c62741a0a1cd7ea2155c3a5f51517594d0 (diff)
downloadATCD-961468ea128b786930d63678f598b1871569f4f4.tar.gz
Use std::strchr
* TAO/tao/Strategies/DIOP_Profile.cpp: * TAO/tao/Strategies/SCIOP_Profile.cpp:
-rw-r--r--TAO/tao/Strategies/DIOP_Profile.cpp2
-rw-r--r--TAO/tao/Strategies/SCIOP_Profile.cpp2
2 files changed, 2 insertions, 2 deletions
diff --git a/TAO/tao/Strategies/DIOP_Profile.cpp b/TAO/tao/Strategies/DIOP_Profile.cpp
index bc02b630d20..86a4f4effcb 100644
--- a/TAO/tao/Strategies/DIOP_Profile.cpp
+++ b/TAO/tao/Strategies/DIOP_Profile.cpp
@@ -469,7 +469,7 @@ TAO_DIOP_Profile::create_profile_body (TAO_OutputCDR &encap) const
const char* host;
const char* pos;
if (this->endpoint_.is_ipv6_decimal_ &&
- (pos = ACE_OS::strchr (host = this->endpoint_.host (), '%')) != 0)
+ (pos = std::strchr (host = this->endpoint_.host (), '%')) != 0)
{
ACE_CString tmp;
size_t len = pos - host;
diff --git a/TAO/tao/Strategies/SCIOP_Profile.cpp b/TAO/tao/Strategies/SCIOP_Profile.cpp
index 261f81c3a60..114bd24aa21 100644
--- a/TAO/tao/Strategies/SCIOP_Profile.cpp
+++ b/TAO/tao/Strategies/SCIOP_Profile.cpp
@@ -137,7 +137,7 @@ TAO_SCIOP_Profile::parse_string_i (const char *ior)
// Pull off the "hostname:port/" part of the objref
// Copy the string because we are going to modify it...
- const char *okd = ACE_OS::strchr (ior, this->object_key_delimiter_);
+ const char *okd = std::strchr (ior, this->object_key_delimiter_);
if (okd == 0 || okd == ior)
{