From ce09e14d5243c677bfb99c9886263d5b32fc01f3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tomasz=20=C5=9Aniatowski?= Date: Mon, 22 Dec 2008 19:21:00 +0100 Subject: [PATCH] fix a MSVC build error with boost's foreach using this-> --- src/soundsource.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/soundsource.cpp b/src/soundsource.cpp index 16c825e0824..66979eb3a9b 100644 --- a/src/soundsource.cpp +++ b/src/soundsource.cpp @@ -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"] += ",";