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;
|
std::wostringstream outstream;
|
||||||
outstream << s;
|
outstream << s;
|
||||||
|
|
||||||
|
if ( ! outstream.str().empty() )
|
||||||
print (outstream.str());
|
print (outstream.str());
|
||||||
|
|
||||||
return *this;
|
return *this;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue