diff options
Diffstat (limited to 'TAO/tao/Strategies/UIOP_Connector.cpp')
-rw-r--r-- | TAO/tao/Strategies/UIOP_Connector.cpp | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/TAO/tao/Strategies/UIOP_Connector.cpp b/TAO/tao/Strategies/UIOP_Connector.cpp index c4abd8dd420..2bbc354a4ff 100644 --- a/TAO/tao/Strategies/UIOP_Connector.cpp +++ b/TAO/tao/Strategies/UIOP_Connector.cpp @@ -15,6 +15,7 @@ #include "ace/OS_NS_strings.h" #include "ace/OS_NS_string.h" +#include <cstring> TAO_BEGIN_VERSIONED_NAMESPACE_DECL @@ -76,7 +77,7 @@ TAO_UIOP_Connector::corbaloc_scan (const char *str, size_t &len) if (this->check_prefix (str) != 0) return 0; - const char *separator = ACE_OS::strchr (str,'|'); + const char *separator = std::strchr (str,'|'); if (separator == 0) { if (TAO_debug_level) @@ -329,10 +330,10 @@ TAO_UIOP_Connector::check_prefix (const char *endpoint) static const char *protocol[] = { "uiop", "uioploc" }; - const size_t slot = ACE_OS::strchr (endpoint, ':') - endpoint; + size_t const slot = std::strchr (endpoint, ':') - endpoint; - const size_t len0 = ACE_OS::strlen (protocol[0]); - const size_t len1 = ACE_OS::strlen (protocol[1]); + size_t const len0 = std::strlen (protocol[0]); + size_t const len1 = std::strlen (protocol[1]); // Check for the proper prefix in the IOR. If the proper prefix // isn't in the IOR then it is not an IOR we can use. |