summaryrefslogtreecommitdiff
path: root/TAO/tao/PortableServer/PortableServer_WFunctions.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'TAO/tao/PortableServer/PortableServer_WFunctions.cpp')
-rw-r--r--TAO/tao/PortableServer/PortableServer_WFunctions.cpp7
1 files changed, 2 insertions, 5 deletions
diff --git a/TAO/tao/PortableServer/PortableServer_WFunctions.cpp b/TAO/tao/PortableServer/PortableServer_WFunctions.cpp
index d980f303b74..63b6716fffb 100644
--- a/TAO/tao/PortableServer/PortableServer_WFunctions.cpp
+++ b/TAO/tao/PortableServer/PortableServer_WFunctions.cpp
@@ -1,4 +1,4 @@
-#include "tao/PortableServer/PortableServer_WFunctions.h"
+#include "PortableServer_WFunctions.h"
ACE_RCSID (PortableServer,
PortableServer_WFunctions,
@@ -6,8 +6,6 @@ ACE_RCSID (PortableServer,
#include "ace/OS_NS_string.h"
-TAO_BEGIN_VERSIONED_NAMESPACE_DECL
-
namespace PortableServer
{
PortableServer::ObjectId *
@@ -18,7 +16,7 @@ namespace PortableServer
// We DO NOT include the zero terminator, as this is simply an
// artifact of the way strings are stored in C.
//
- u_int string_length = ACE_OS::wslen (string);
+ u_int string_length = ACE_OS::strlen (string);
CORBA::ULong buffer_size = string_length * sizeof (CORBA::WChar);
@@ -68,4 +66,3 @@ namespace PortableServer
}
}
-TAO_END_VERSIONED_NAMESPACE_DECL