fixed (?) some problems with stringstreams and std::ends
This commit is contained in:
parent
07a3e56db1
commit
eaabc7ae3b
10 changed files with 57 additions and 50 deletions
|
|
@ -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;
|
||||
|
||||
}
|
||||
|
|
|
|||
Reference in a new issue