summaryrefslogtreecommitdiff
path: root/cppe/src/IceE/Outgoing.cpp
diff options
context:
space:
mode:
authorDwayne Boone <dwayne@zeroc.com>2006-05-02 17:54:37 +0000
committerDwayne Boone <dwayne@zeroc.com>2006-05-02 17:54:37 +0000
commitfc39e42505a8ffd72ce942dcc3e95c05e8c6d9b2 (patch)
tree18b8689b8fd5ad29c46281dee27ad3cc7faffefe /cppe/src/IceE/Outgoing.cpp
parentremoving client/server separation (diff)
downloadice-fc39e42505a8ffd72ce942dcc3e95c05e8c6d9b2.tar.bz2
ice-fc39e42505a8ffd72ce942dcc3e95c05e8c6d9b2.tar.xz
ice-fc39e42505a8ffd72ce942dcc3e95c05e8c6d9b2.zip
More string converter optimizations
Diffstat (limited to 'cppe/src/IceE/Outgoing.cpp')
-rw-r--r--cppe/src/IceE/Outgoing.cpp9
1 files changed, 5 insertions, 4 deletions
diff --git a/cppe/src/IceE/Outgoing.cpp b/cppe/src/IceE/Outgoing.cpp
index dbc5b355577..d9a4c1bf69d 100644
--- a/cppe/src/IceE/Outgoing.cpp
+++ b/cppe/src/IceE/Outgoing.cpp
@@ -104,8 +104,8 @@ IceInternal::Outgoing::Outgoing(Connection* connection, Reference* ref, const st
Context::const_iterator p;
for(p = context.begin(); p != context.end(); ++p)
{
- _stream.write(p->first);
- _stream.write(p->second);
+ _stream.write(p->first, false);
+ _stream.write(p->second, false);
}
//
@@ -291,13 +291,14 @@ IceInternal::Outgoing::finished(BasicStream& is)
// exception, you will have a memory leak.
//
Identity ident;
- ident.__read(&_stream);
+ _stream.read(ident.name, false);
+ _stream.read(ident.category, false);
//
// For compatibility with the old FacetPath.
//
vector<string> facetPath;
- _stream.read(facetPath);
+ _stream.read(facetPath, false);
string facet;
if(!facetPath.empty())
{