diff options
Diffstat (limited to 'TAO/tao/Strategies/DIOP_Connector.cpp')
-rw-r--r-- | TAO/tao/Strategies/DIOP_Connector.cpp | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/TAO/tao/Strategies/DIOP_Connector.cpp b/TAO/tao/Strategies/DIOP_Connector.cpp index 361ba6ed9b7..236bb65d1d2 100644 --- a/TAO/tao/Strategies/DIOP_Connector.cpp +++ b/TAO/tao/Strategies/DIOP_Connector.cpp @@ -16,6 +16,7 @@ #include "ace/os_include/os_netdb.h" #include "tao/Strategies/DIOP_Profile.h" +#include <cstring> TAO_BEGIN_VERSIONED_NAMESPACE_DECL @@ -254,10 +255,10 @@ TAO_DIOP_Connector::check_prefix (const char *endpoint) const char *protocol[] = { "diop", "dioploc" }; - size_t const slot = ACE_OS::strchr (endpoint, ':') - endpoint; + size_t const slot = std::strchr (endpoint, ':') - endpoint; - size_t const len0 = ACE_OS::strlen (protocol[0]); - size_t const 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. |