summaryrefslogtreecommitdiff
path: root/cpp/demo/Ice/throughput
diff options
context:
space:
mode:
authorBenoit Foucher <benoit@zeroc.com>2006-01-27 12:04:15 +0000
committerBenoit Foucher <benoit@zeroc.com>2006-01-27 12:04:15 +0000
commitd5eecb1f507b5fc1ed67ef42c94fa74245345cd8 (patch)
treecca307d6b6f9782eaa611fedd9bdad94cf3de858 /cpp/demo/Ice/throughput
parentfix for bug 836: deprecation warnings in generated code (diff)
downloadice-d5eecb1f507b5fc1ed67ef42c94fa74245345cd8.tar.bz2
ice-d5eecb1f507b5fc1ed67ef42c94fa74245345cd8.tar.xz
ice-d5eecb1f507b5fc1ed67ef42c94fa74245345cd8.zip
Fixed bug 808
Diffstat (limited to 'cpp/demo/Ice/throughput')
-rw-r--r--cpp/demo/Ice/throughput/Client.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/cpp/demo/Ice/throughput/Client.cpp b/cpp/demo/Ice/throughput/Client.cpp
index e342ea31d3e..e61514e5a7e 100644
--- a/cpp/demo/Ice/throughput/Client.cpp
+++ b/cpp/demo/Ice/throughput/Client.cpp
@@ -10,6 +10,8 @@
#include <Ice/Ice.h>
#include <Throughput.h>
+#include <iomanip>
+
using namespace std;
using namespace Demo;
@@ -351,7 +353,7 @@ ThroughputClient::run(int argc, char* argv[])
{
mbit *= 2;
}
- cout << "throughput: " << mbit << " Mbps" << endl;
+ cout << "throughput: " << setprecision(5) << mbit << "Mbps" << endl;
}
else if(c == 's')
{