summaryrefslogtreecommitdiff
path: root/cpp/test/IceXML/encoding/Client.cpp
diff options
context:
space:
mode:
authorMark Spruiell <mes@zeroc.com>2002-02-13 00:47:50 +0000
committerMark Spruiell <mes@zeroc.com>2002-02-13 00:47:50 +0000
commit8df1c85f81b1586570c47060a6d8ae7eaf6d33b9 (patch)
tree77768fb509cf428dc90a34872970eeddedd4122e /cpp/test/IceXML/encoding/Client.cpp
parentminor fixes (diff)
downloadice-8df1c85f81b1586570c47060a6d8ae7eaf6d33b9.tar.bz2
ice-8df1c85f81b1586570c47060a6d8ae7eaf6d33b9.tar.xz
ice-8df1c85f81b1586570c47060a6d8ae7eaf6d33b9.zip
revising Stream.ice to remove out params
Diffstat (limited to 'cpp/test/IceXML/encoding/Client.cpp')
-rw-r--r--cpp/test/IceXML/encoding/Client.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/cpp/test/IceXML/encoding/Client.cpp b/cpp/test/IceXML/encoding/Client.cpp
index c05ce31e8d8..86444e72593 100644
--- a/cpp/test/IceXML/encoding/Client.cpp
+++ b/cpp/test/IceXML/encoding/Client.cpp
@@ -49,8 +49,7 @@ TestString(const Ice::CommunicatorPtr& communicator)
istringstream is(os.str());
Ice::StreamPtr istream = new IceXML::StreamI(communicator, is);
- string result;
- istream->readString(element, result);
+ string result = istream->readString(element);
test(result == strings[i]);
}
}