diff options
Diffstat (limited to 'cpp/src/IcePatch2/ClientUtil.cpp')
-rwxr-xr-x | cpp/src/IcePatch2/ClientUtil.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
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<const Ice::Byte*, const Ice::Byte*>& bytes) { IceUtil::Monitor<IceUtil::Mutex>::Lock sync(*this); - _bytes = bytes; + ByteSeq(bytes.first, bytes.second).swap(_bytes); _done = true; notify(); } |