Commit 9a4ce19c authored by Arne Graf's avatar Arne Graf

buildable, FF(char*) not usable

parent 4faaf21b
......@@ -102,11 +102,11 @@ FloorfieldViaFM::FloorfieldViaFM(const char* filename) {
// 0.505725
// ...
ifstream file = (filename)
std::ifstream file(filename);
std::string line;
std::getline(file, line) //# vtk DataFile Version 3.0
std::getline(file, line)
std::getline(file, line); //# vtk DataFile Version 3.0
std::getline(file, line);
//read header and extract grid info:
//iMax jMax (->numPoints)
......@@ -122,7 +122,7 @@ FloorfieldViaFM::FloorfieldViaFM(const char* filename) {
//read-in dirToWall
while (std::getline(infile, line))
while (std::getline(file, line))
{
std::istringstream iss(line);
......
......@@ -51,6 +51,7 @@ class FloorfieldViaFM
{
public:
FloorfieldViaFM();
FloorfieldViaFM(const char*);
FloorfieldViaFM(const Building* const buildingArg, const double hxArg, const double hyArg, const double slowdownDistance, const bool useDistancefield);
virtual ~FloorfieldViaFM();
FloorfieldViaFM(const FloorfieldViaFM& other);
......
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