diff options
author | Dwayne Boone <dwayne@zeroc.com> | 2006-05-02 17:54:37 +0000 |
---|---|---|
committer | Dwayne Boone <dwayne@zeroc.com> | 2006-05-02 17:54:37 +0000 |
commit | fc39e42505a8ffd72ce942dcc3e95c05e8c6d9b2 (patch) | |
tree | 18b8689b8fd5ad29c46281dee27ad3cc7faffefe /cpp/src/Ice/BasicStream.cpp | |
parent | removing client/server separation (diff) | |
download | ice-fc39e42505a8ffd72ce942dcc3e95c05e8c6d9b2.tar.bz2 ice-fc39e42505a8ffd72ce942dcc3e95c05e8c6d9b2.tar.xz ice-fc39e42505a8ffd72ce942dcc3e95c05e8c6d9b2.zip |
More string converter optimizations
Diffstat (limited to 'cpp/src/Ice/BasicStream.cpp')
-rw-r--r-- | cpp/src/Ice/BasicStream.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/cpp/src/Ice/BasicStream.cpp b/cpp/src/Ice/BasicStream.cpp index df79c5b2e4c..08cb2560e6b 100644 --- a/cpp/src/Ice/BasicStream.cpp +++ b/cpp/src/Ice/BasicStream.cpp @@ -1378,7 +1378,7 @@ IceInternal::BasicStream::writeConverted(const string& v) } void -IceInternal::BasicStream::write(const string* begin, const string* end) +IceInternal::BasicStream::write(const string* begin, const string* end, bool convert) { Int sz = static_cast<Int>(end - begin); writeSize(sz); @@ -1386,13 +1386,13 @@ IceInternal::BasicStream::write(const string* begin, const string* end) { for(int i = 0; i < sz; ++i) { - write(begin[i]); + write(begin[i], convert); } } } void -IceInternal::BasicStream::read(vector<string>& v) +IceInternal::BasicStream::read(vector<string>& v, bool convert) { Int sz; readSize(sz); @@ -1402,7 +1402,7 @@ IceInternal::BasicStream::read(vector<string>& v) v.resize(sz); for(int j = 0; j < sz; ++j) { - read(v[j]); + read(v[j], convert); checkSeq(); endElement(); } |