one more update for older compilers

This commit is contained in:
Zeno Rogue 2019-09-13 18:33:15 +02:00
parent 31fb9d4b8b
commit 7560d62699
1 changed files with 1 additions and 1 deletions

View File

@ -37,7 +37,7 @@ void gen(string sf) {
if(seen.count(sf)) return;
seen.insert(sf);
which_file = sf; lineid = 1;
ifstream in(sf);
ifstream in(sf.c_str());
string s;
while(getline(in, s)) {
lineid++;