mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2024-11-30 07:29:54 +00:00
one more update for older compilers
This commit is contained in:
parent
31fb9d4b8b
commit
7560d62699
@ -37,7 +37,7 @@ void gen(string sf) {
|
|||||||
if(seen.count(sf)) return;
|
if(seen.count(sf)) return;
|
||||||
seen.insert(sf);
|
seen.insert(sf);
|
||||||
which_file = sf; lineid = 1;
|
which_file = sf; lineid = 1;
|
||||||
ifstream in(sf);
|
ifstream in(sf.c_str());
|
||||||
string s;
|
string s;
|
||||||
while(getline(in, s)) {
|
while(getline(in, s)) {
|
||||||
lineid++;
|
lineid++;
|
||||||
|
Loading…
Reference in New Issue
Block a user