diff options
author | Johnny Willemsen <jwillemsen@remedy.nl> | 2021-03-08 20:59:06 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-03-08 20:59:06 +0100 |
commit | 199259c5d2d5f4a6550382a683f5d54ac482fcd1 (patch) | |
tree | 6792423092c40e0e26f9b6ed932706b4a18fcfc7 /TAO/tao/Strategies/SHMIOP_Profile.cpp | |
parent | a2239fcbf8a7eabce628ca0841dc1eaa69a68b3d (diff) | |
parent | 0ef8b2250c1dfad5ad5361de7e92a289ead06733 (diff) | |
download | ATCD-199259c5d2d5f4a6550382a683f5d54ac482fcd1.tar.gz |
Merge pull request #1444 from jwillemsen/jwi-stdstring
Use std string operation instead of ACE_OS
Diffstat (limited to 'TAO/tao/Strategies/SHMIOP_Profile.cpp')
-rw-r--r-- | TAO/tao/Strategies/SHMIOP_Profile.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/TAO/tao/Strategies/SHMIOP_Profile.cpp b/TAO/tao/Strategies/SHMIOP_Profile.cpp index 7b43eb77f60..eb01ce6655b 100644 --- a/TAO/tao/Strategies/SHMIOP_Profile.cpp +++ b/TAO/tao/Strategies/SHMIOP_Profile.cpp @@ -13,6 +13,7 @@ #include "ace/OS_NS_string.h" #include "ace/os_include/os_netdb.h" #include "ace/Truncate.h" +#include <cstring> static const char prefix_[] = "shmiop"; @@ -130,7 +131,7 @@ TAO_SHMIOP_Profile::parse_string_i (const char *string) CORBA::String_var copy (string); char *start = copy.inout (); - char *cp = ACE_OS::strchr (start, ':'); // Look for a port + char *cp = std::strchr (start, ':'); // Look for a port if (cp == 0) { @@ -142,7 +143,7 @@ TAO_SHMIOP_Profile::parse_string_i (const char *string) CORBA::COMPLETED_NO); } - char *okd = ACE_OS::strchr (start, this->object_key_delimiter_); + char *okd = std::strchr (start, this->object_key_delimiter_); if (okd == 0) { |