summaryrefslogtreecommitdiff
path: root/TAO/tao/corbafwd.cpp
diff options
context:
space:
mode:
authorcoryan <coryan@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>1999-10-25 05:28:00 +0000
committercoryan <coryan@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>1999-10-25 05:28:00 +0000
commit02c0fe322fdc0a1fa3e8be9fd103505594ddeb2e (patch)
tree522d3c1352f7c74721f105a32114ec2c26e1d110 /TAO/tao/corbafwd.cpp
parent7fb50607bbd98e1b17b1e115ee8224268a377678 (diff)
downloadATCD-02c0fe322fdc0a1fa3e8be9fd103505594ddeb2e.tar.gz
ChangeLogTag:Mon Oct 25 00:24:16 1999 Carlos O'Ryan <coryan@cs.wustl.edu>
Diffstat (limited to 'TAO/tao/corbafwd.cpp')
-rw-r--r--TAO/tao/corbafwd.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/TAO/tao/corbafwd.cpp b/TAO/tao/corbafwd.cpp
index 4071ed47450..4978ae3380a 100644
--- a/TAO/tao/corbafwd.cpp
+++ b/TAO/tao/corbafwd.cpp
@@ -6,7 +6,7 @@
# include "tao/corbafwd.i"
#endif /* ! __ACE_INLINE__ */
-CORBA::String
+char *
CORBA::string_dup (const CORBA::Char *str)
{
if (!str)
@@ -15,7 +15,7 @@ CORBA::string_dup (const CORBA::Char *str)
size_t len = ACE_OS::strlen (str);
// This allocates an extra byte for the '\0';
- CORBA::String copy = CORBA::string_alloc (len);
+ char * copy = CORBA::string_alloc (len);
ACE_OS::memcpy (copy, str, len + 1);
return copy;