diff options
author | schmidt <douglascraigschmidt@users.noreply.github.com> | 1999-01-04 04:16:17 +0000 |
---|---|---|
committer | schmidt <douglascraigschmidt@users.noreply.github.com> | 1999-01-04 04:16:17 +0000 |
commit | 53f7296442c68ac10830198f2d3285d0becd0bbe (patch) | |
tree | 3bf3a3bace3dadc6a3f33bd724cd4998515c25cb /ace/SString.cpp | |
parent | 1921ca95ea68d83b615e6695b59f9556430827c0 (diff) | |
download | ATCD-53f7296442c68ac10830198f2d3285d0becd0bbe.tar.gz |
*** empty log message ***
Diffstat (limited to 'ace/SString.cpp')
-rw-r--r-- | ace/SString.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/ace/SString.cpp b/ace/SString.cpp index 772464ddb9a..211a06cbcb4 100644 --- a/ace/SString.cpp +++ b/ace/SString.cpp @@ -272,8 +272,8 @@ ACE_CString::ACE_CString (const ACE_USHORT16 *s, } void -ACE_CString::set (size_t len, - const char *s, +ACE_CString::set (const char *s, + size_t len, int release) { // Free memory if necessary @@ -781,7 +781,7 @@ ACE_WString::operator= (const ACE_WString &s) // Check for identify. if (this != &s) - this->set (s.len_, s.rep_); + this->set (s.rep_, s.len_); return *this; } @@ -793,7 +793,7 @@ ACE_WString::set (const ACE_USHORT16 *s) } void -ACE_WString::set (size_t len, const ACE_USHORT16 *s) +ACE_WString::set (const ACE_USHORT16 *s, size_t len) { // Only reallocate if we don't have enough space... if (this->len_ < len) |