diff options
author | brunsch <brunsch@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 1997-06-10 21:01:48 +0000 |
---|---|---|
committer | brunsch <brunsch@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 1997-06-10 21:01:48 +0000 |
commit | 7605336ca1a6dbc2e865b32710a93697486864df (patch) | |
tree | c7edaca833e24b293b706006ce183f2305dec9e2 /ace/SString.h | |
parent | d146bad343adb0c003bf19ff61e02fbca965af87 (diff) | |
download | ATCD-7605336ca1a6dbc2e865b32710a93697486864df.tar.gz |
Changed the parameter types for the substring() methods in WString and
CString to fix some errors with g++
Diffstat (limited to 'ace/SString.h')
-rw-r--r-- | ace/SString.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ace/SString.h b/ace/SString.h index cb8ba36389d..5afdc948e2a 100644 --- a/ace/SString.h +++ b/ace/SString.h @@ -90,7 +90,7 @@ public: // Return the <index'th> character in the string (doesn't perform // bounds checking). - ACE_CString substring (const size_t offset, const size_t length = -1); + ACE_CString substring (size_t offset, ssize_t length = -1); // Return a substring given an offset and length, if length == -1 // use rest of str return empty substring if offset or offset/length // are invalid @@ -257,7 +257,7 @@ public: void operator= (const ACE_WString &); // Assignment operator (does copy memory). - ACE_WString substring (const size_t offset, const size_t length = -1); + ACE_WString substring (size_t offset, ssize_t length = -1); // return a substring given an offset and length, if length == -1 // use rest of str return empty substring if offset or offset/length // are invalid. |