mirror of
https://github.com/wesnoth/wesnoth
synced 2025-05-03 18:17:20 +00:00
fix a MSVC build error with boost's foreach using this->
This commit is contained in:
parent
a7739831d7
commit
ce09e14d52
@ -220,8 +220,7 @@ void positional_source::write_config(config& cfg) const
|
||||
|
||||
cfg["x"] = cfg["y"] = "";
|
||||
bool first_loc = true;
|
||||
|
||||
foreach(const map_location& loc, this->locations_) {
|
||||
foreach(const map_location& loc, locations_) {
|
||||
if(!first_loc) {
|
||||
cfg["x"] += ",";
|
||||
cfg["y"] += ",";
|
||||
|
Loading…
x
Reference in New Issue
Block a user