Commit a0eda17f authored by Naumann, Andreas's avatar Naumann, Andreas
Browse files

kommentare weg

parent 4e3f0a36
...@@ -85,11 +85,9 @@ namespace AMDiS { ...@@ -85,11 +85,9 @@ namespace AMDiS {
/// Fill an initfile from an input stream /// Fill an initfile from an input stream
void Initfile::read(istream& in) void Initfile::read(istream& in)
{ {
const unsigned line_length = 512; //const unsigned line_length = 512;
//char swap[line_length];
std::string swap; std::string swap;
std::getline(in, swap); std::getline(in, swap);
//in.getline(swap, line_length);
while (in.good() || in.gcount() > 0) { while (in.good() || in.gcount() > 0) {
std::string whitespaces = " \t\r\f\n"; std::string whitespaces = " \t\r\f\n";
std::string delimiter = "\r\n"; std::string delimiter = "\r\n";
...@@ -149,7 +147,6 @@ namespace AMDiS { ...@@ -149,7 +147,6 @@ namespace AMDiS {
read(fn, forceRead); read(fn, forceRead);
} }
//in.getline(swap, line_length);
getline(in, swap); getline(in, swap);
} }
} }
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment