summaryrefslogtreecommitdiff
path: root/TAO/tao/AnyTypeCode/TypeCode_CDR_Extraction.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'TAO/tao/AnyTypeCode/TypeCode_CDR_Extraction.cpp')
-rw-r--r--TAO/tao/AnyTypeCode/TypeCode_CDR_Extraction.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/TAO/tao/AnyTypeCode/TypeCode_CDR_Extraction.cpp b/TAO/tao/AnyTypeCode/TypeCode_CDR_Extraction.cpp
index e80e1c653a4..3b8c0110947 100644
--- a/TAO/tao/AnyTypeCode/TypeCode_CDR_Extraction.cpp
+++ b/TAO/tao/AnyTypeCode/TypeCode_CDR_Extraction.cpp
@@ -27,6 +27,7 @@
#include "ace/Array_Base.h"
#include "ace/Value_Ptr.h"
+#include <cstring>
TAO_BEGIN_VERSIONED_NAMESPACE_DECL
@@ -160,7 +161,7 @@ namespace
{
TAO::TypeCodeFactory::TC_Info & info = infos[i];
- if (ACE_OS::strcmp (info.id, id) == 0)
+ if (std::strcmp (info.id, id) == 0)
{
// We have a matching id, so store the TypeCode in the out
// array and then compare the others.
@@ -396,7 +397,7 @@ TAO::TypeCodeFactory::tc_objref_factory (CORBA::TCKind kind,
break;
}
- if (ACE_OS::strcmp (id.in (), // len >= 0!!!
+ if (std::strcmp (id.in (), // len >= 0!!!
tc_constant_id) == 0)
{
if (!cdr.skip_string ()) // No need to demarshal the name.