Skip to content
Snippets Groups Projects
Commit dde15980 authored by Robert Klöfkorn's avatar Robert Klöfkorn
Browse files

forgot some changes due to string change.

[[Imported from SVN: r2023]]
parent 1eb8e088
No related branches found
No related tags found
No related merge requests found
......@@ -89,7 +89,7 @@ namespace Dune {
double time, int timestep, int precision )
{
const char *path = 0;
std::fstream file (fnprefix,std::ios::out);
std::fstream file (fnprefix.c_str(),std::ios::out);
file << "Grid: " << transformToGridName(grid.type()) << std::endl;
file << "Format: " << ftype << std::endl;
file << "Precision: " << precision << std::endl;
......@@ -166,7 +166,7 @@ namespace Dune {
enum { n = DiscreteFunctionSpaceType::DimDomain };
enum { m = DiscreteFunctionSpaceType::DimRange };
std::fstream file( filename , std::ios::out );
std::fstream file( filename.c_str() , std::ios::out );
GrapeIOStringType d = typeIdentifier<DomainFieldType>();
GrapeIOStringType r = typeIdentifier<RangeFieldType>();
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment