replace \0 with std::ends
This commit is contained in:
parent
27f9ae0894
commit
b15d1cef39
1 changed files with 2 additions and 2 deletions
|
|
@ -119,8 +119,8 @@ inline void eoGnuplot1DMonitor::FirstPlot()
|
||||||
if (i<vec.size()-1)
|
if (i<vec.size()-1)
|
||||||
os << ", ";
|
os << ", ";
|
||||||
}
|
}
|
||||||
os << "\n";
|
os << '\n';
|
||||||
os << '\0';
|
os << std::ends;
|
||||||
#ifdef HAVE_SSTREAM
|
#ifdef HAVE_SSTREAM
|
||||||
PipeComSend( gpCom, os.str().c_str());
|
PipeComSend( gpCom, os.str().c_str());
|
||||||
#else
|
#else
|
||||||
|
|
|
||||||
Reference in a new issue