diff --git a/eo/src/utils/eoGnuplot1DSnapshot.h b/eo/src/utils/eoGnuplot1DSnapshot.h index 5bb0b676e..a8a967b24 100644 --- a/eo/src/utils/eoGnuplot1DSnapshot.h +++ b/eo/src/utils/eoGnuplot1DSnapshot.h @@ -149,6 +149,7 @@ inline eoMonitor& eoGnuplot1DSnapshot::operator() (void) #ifdef HAVE_SSTREAM PipeComSend( gpCom, os.str().c_str()); #else + os << std::ends; PipeComSend( gpCom, buff ); #endif return (*this);