diff options
author | Benoit Foucher <benoit@zeroc.com> | 2006-01-27 12:04:15 +0000 |
---|---|---|
committer | Benoit Foucher <benoit@zeroc.com> | 2006-01-27 12:04:15 +0000 |
commit | d5eecb1f507b5fc1ed67ef42c94fa74245345cd8 (patch) | |
tree | cca307d6b6f9782eaa611fedd9bdad94cf3de858 /cpp | |
parent | fix for bug 836: deprecation warnings in generated code (diff) | |
download | ice-d5eecb1f507b5fc1ed67ef42c94fa74245345cd8.tar.bz2 ice-d5eecb1f507b5fc1ed67ef42c94fa74245345cd8.tar.xz ice-d5eecb1f507b5fc1ed67ef42c94fa74245345cd8.zip |
Fixed bug 808
Diffstat (limited to 'cpp')
-rw-r--r-- | cpp/demo/Ice/throughput/Client.cpp | 4 |
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') { |