1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2024-11-26 22:17:17 +00:00

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

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++;