diff options
Diffstat (limited to 'TAO/tao/IIOP_Connector.cpp')
-rw-r--r-- | TAO/tao/IIOP_Connector.cpp | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/TAO/tao/IIOP_Connector.cpp b/TAO/tao/IIOP_Connector.cpp index 166cdb505a9..aab4244dcd2 100644 --- a/TAO/tao/IIOP_Connector.cpp +++ b/TAO/tao/IIOP_Connector.cpp @@ -19,6 +19,7 @@ #include "ace/OS_NS_string.h" #include "ace/OS_NS_time.h" #include "ace/CORBA_macros.h" +#include <cstring> TAO_BEGIN_VERSIONED_NAMESPACE_DECL @@ -730,12 +731,12 @@ TAO_IIOP_Connector::check_prefix (const char *endpoint) static const char *protocol[] = { "iiop", "iioploc" }; - size_t const slot = ACE_OS::strchr (endpoint, ':') - endpoint; + size_t const slot = std::strchr (endpoint, ':') - endpoint; if (slot == 0) // an empty string is valid for corbaloc. return 0; - 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. |