Skip to content

Commit 48d9e0b

Browse files
authoredMar 28, 2018
Fix postgres build failure, closes #57
1 parent 0a91fe6 commit 48d9e0b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

Diff for: ‎db-postgresql.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ DBPostgreSQL::DBPostgreSQL(const std::string &mapdir)
1414
std::ifstream ifs((mapdir + "/world.mt").c_str());
1515
if(!ifs.good())
1616
throw std::runtime_error("Failed to read world.mt");
17-
std::string const connect_string = get_setting("pgsql_connection", ifs);
17+
std::string connect_string = read_setting("pgsql_connection", ifs);
1818
ifs.close();
1919
db = PQconnectdb(connect_string.c_str());
2020

0 commit comments

Comments
 (0)