Don't print empty streams
This commit is contained in:
parent
d35c3c0cdc
commit
4d42804059
|
@ -570,7 +570,10 @@ inline FVTerm& FVTerm::operator << (const type& s)
|
|||
{
|
||||
std::wostringstream outstream;
|
||||
outstream << s;
|
||||
print (outstream.str());
|
||||
|
||||
if ( ! outstream.str().empty() )
|
||||
print (outstream.str());
|
||||
|
||||
return *this;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue