From fc29b8818ddf5af43cdc8e5df43f0dbf0430f00c Mon Sep 17 00:00:00 2001 From: Dwayne Boone Date: Tue, 4 Apr 2006 16:07:03 +0000 Subject: Fixed 803 - make use of zero copy --- cpp/src/IcePatch2/ClientUtil.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'cpp/src/IcePatch2/ClientUtil.cpp') diff --git a/cpp/src/IcePatch2/ClientUtil.cpp b/cpp/src/IcePatch2/ClientUtil.cpp index 2e5603fa5a7..c9c5ca4da30 100755 --- a/cpp/src/IcePatch2/ClientUtil.cpp +++ b/cpp/src/IcePatch2/ClientUtil.cpp @@ -738,10 +738,10 @@ public: } virtual void - ice_response(const ByteSeq& bytes) + ice_response(const pair& bytes) { IceUtil::Monitor::Lock sync(*this); - _bytes = bytes; + ByteSeq(bytes.first, bytes.second).swap(_bytes); _done = true; notify(); } -- cgit v1.2.3