From fda39068afaf8d2f7a25f07b4b7bcdad614dfbad Mon Sep 17 00:00:00 2001 From: maartenkeijzer Date: Fri, 21 Mar 2003 02:44:05 +0000 Subject: [PATCH] now added an std::ends for plotting strstream --- eo/src/utils/eoGnuplot1DSnapshot.h | 1 + 1 file changed, 1 insertion(+) diff --git a/eo/src/utils/eoGnuplot1DSnapshot.h b/eo/src/utils/eoGnuplot1DSnapshot.h index 5bb0b676..a8a967b2 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);