mirror of
https://github.com/wesnoth/wesnoth
synced 2025-05-08 17:17:06 +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"] = "";
|
cfg["x"] = cfg["y"] = "";
|
||||||
bool first_loc = true;
|
bool first_loc = true;
|
||||||
|
foreach(const map_location& loc, locations_) {
|
||||||
foreach(const map_location& loc, this->locations_) {
|
|
||||||
if(!first_loc) {
|
if(!first_loc) {
|
||||||
cfg["x"] += ",";
|
cfg["x"] += ",";
|
||||||
cfg["y"] += ",";
|
cfg["y"] += ",";
|
||||||
|
Loading…
x
Reference in New Issue
Block a user