now added an std::ends for plotting strstream
This commit is contained in:
parent
6f98944212
commit
fda39068af
1 changed files with 1 additions and 0 deletions
|
|
@ -149,6 +149,7 @@ inline eoMonitor& eoGnuplot1DSnapshot::operator() (void)
|
||||||
#ifdef HAVE_SSTREAM
|
#ifdef HAVE_SSTREAM
|
||||||
PipeComSend( gpCom, os.str().c_str());
|
PipeComSend( gpCom, os.str().c_str());
|
||||||
#else
|
#else
|
||||||
|
os << std::ends;
|
||||||
PipeComSend( gpCom, buff );
|
PipeComSend( gpCom, buff );
|
||||||
#endif
|
#endif
|
||||||
return (*this);
|
return (*this);
|
||||||
|
|
|
||||||
Reference in a new issue