diff options
author | Dwayne Boone <dwayne@zeroc.com> | 2006-01-23 18:43:17 +0000 |
---|---|---|
committer | Dwayne Boone <dwayne@zeroc.com> | 2006-01-23 18:43:17 +0000 |
commit | 7a9674529061eff035eb0772f58e49bcca6f7ea0 (patch) | |
tree | 057aff4822dc2ac472913676886b4290df420278 /cppe/demo/IceE/throughput/Client.cpp | |
parent | change version number to match the rest of the ice distros (diff) | |
download | ice-7a9674529061eff035eb0772f58e49bcca6f7ea0.tar.bz2 ice-7a9674529061eff035eb0772f58e49bcca6f7ea0.tar.xz ice-7a9674529061eff035eb0772f58e49bcca6f7ea0.zip |
backed out change
Diffstat (limited to 'cppe/demo/IceE/throughput/Client.cpp')
-rw-r--r-- | cppe/demo/IceE/throughput/Client.cpp | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/cppe/demo/IceE/throughput/Client.cpp b/cppe/demo/IceE/throughput/Client.cpp index 60ad8aa56bf..44f1cd25781 100644 --- a/cppe/demo/IceE/throughput/Client.cpp +++ b/cppe/demo/IceE/throughput/Client.cpp @@ -71,9 +71,6 @@ run(int argc, char* argv[], const Ice::CommunicatorPtr& communicator) ThroughputPrx throughputOneway = ThroughputPrx::uncheckedCast(throughput->ice_oneway()); ByteSeq byteSeq(ByteSeqSize / reduce, 0); - pair<const Ice::Byte*, const Ice::Byte*> byteArr; - byteArr.first = &byteSeq[0]; - byteArr.second = byteArr.first + byteSeq.size(); StringSeq stringSeq(StringSeqSize / reduce, "hello"); @@ -222,13 +219,13 @@ run(int argc, char* argv[], const Ice::CommunicatorPtr& communicator) { case 't': { - throughput->sendByteSeq(byteArr); + throughput->sendByteSeq(byteSeq); break; } case 'o': { - throughputOneway->sendByteSeq(byteArr); + throughputOneway->sendByteSeq(byteSeq); break; } |