Fix compile error with ofstream.

Not all STD implementations allow constructing an ofstream with a filename
in a std::string. Get the c string instead.
This commit is contained in:
Kenneth Moreland 2016-03-17 08:53:35 -06:00
parent e863ee991a
commit 6aaf85baa6

@ -410,7 +410,7 @@ public:
try
{
std::ofstream fileStream(this->FileName, std::fstream::trunc);
std::ofstream fileStream(this->FileName.c_str(), std::fstream::trunc);
this->Write(fileStream, dataSet, cellSetIndex);
fileStream.close();
}