Close input stream after eating

This commit is contained in:
Joscha 2016-11-20 14:20:37 +00:00
parent 1564e18c4a
commit da2744e2eb

View file

@ -17,6 +17,7 @@ void Markov::eat(std::string filename) // gobble up a file
{
this->swallowLine(line);
}
ifs.close();
}