diff options
Diffstat (limited to 'TAO/orbsvcs/tests/Notify/Discarding/common.cpp')
-rw-r--r-- | TAO/orbsvcs/tests/Notify/Discarding/common.cpp | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/TAO/orbsvcs/tests/Notify/Discarding/common.cpp b/TAO/orbsvcs/tests/Notify/Discarding/common.cpp index 1caccdbb3df..c88d7dc082d 100644 --- a/TAO/orbsvcs/tests/Notify/Discarding/common.cpp +++ b/TAO/orbsvcs/tests/Notify/Discarding/common.cpp @@ -5,6 +5,7 @@ #include "orbsvcs/CosNotifyCommC.h" #include "orbsvcs/CosNamingC.h" #include "ace/OS_NS_stdio.h" +#include "ace/OS_NS_string.h" const char* @@ -36,12 +37,12 @@ Any_String (const CORBA::Any& any) } else if (any >>= str) { - ACE_OS_String::strcpy (out, str); + ACE_OS::strcpy (out, str); } else if (any >>= ull) { #if defined (ACE_LACKS_LONGLONG_T) - ACE_OS_String::strcpy (out, ull.as_string (out)); + ACE_OS::strcpy (out, ull.as_string (out)); #else double temp = # if defined (ACE_CONFIG_WIN32_H) @@ -55,7 +56,7 @@ Any_String (const CORBA::Any& any) } else { - ACE_OS_String::strcpy (out, "Unsupported Any Type"); + ACE_OS::strcpy (out, "Unsupported Any Type"); } return out; |