diff options
author | Jose <jose@zeroc.com> | 2009-12-14 17:48:13 +0100 |
---|---|---|
committer | Jose <jose@zeroc.com> | 2009-12-14 17:48:13 +0100 |
commit | 91862e81100330f3209b4272b29ca46a7bca0679 (patch) | |
tree | ca4014bd8789bc9db491e480d4791f7bdacbeebe /cpp/src/Ice/Object.cpp | |
parent | edits to README.DEMOS (diff) | |
download | ice-91862e81100330f3209b4272b29ca46a7bca0679.tar.bz2 ice-91862e81100330f3209b4272b29ca46a7bca0679.tar.xz ice-91862e81100330f3209b4272b29ca46a7bca0679.zip |
4471 - read(std::vector<bool>) and Stream deprecate old methods.
Diffstat (limited to 'cpp/src/Ice/Object.cpp')
-rw-r--r-- | cpp/src/Ice/Object.cpp | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/cpp/src/Ice/Object.cpp b/cpp/src/Ice/Object.cpp index 0fd4c42c0a1..13786007e5b 100644 --- a/cpp/src/Ice/Object.cpp +++ b/cpp/src/Ice/Object.cpp @@ -459,12 +459,11 @@ Ice::BlobjectArrayAsync::__dispatch(Incoming& in, const Current& current) void Ice::ice_writeObject(const OutputStreamPtr& out, const ObjectPtr& p) { - out->writeObject(p); + out->write(p); } void Ice::ice_readObject(const InputStreamPtr& in, ObjectPtr& p) { - Ice::ReadObjectCallbackPtr cb = new ReadObjectCallbackI(__patch__ObjectPtr, &p); - in->readObject(cb); + in->read(p); } |