fixed (?) some problems with stringstreams and std::ends

This commit is contained in:
maartenkeijzer 2003-03-21 02:39:09 +00:00
commit eaabc7ae3b
10 changed files with 57 additions and 50 deletions

View file

@ -132,9 +132,9 @@ public:
virtual void printOn(std::ostream& _os) const
{
if (combien == 0)
_os << 100*rate << "% " << std::ends;
_os << 100*rate << "% ";
else
_os << combien << " " << std::ends;
_os << combien << " ";
return;
}