]> git.mxchange.org Git - flightgear.git/blobdiff - src/Environment/fgmetar.cxx
Fix line endings
[flightgear.git] / src / Environment / fgmetar.cxx
index 0f71c8e4bb355eb44921fedc68978779205faf66..acb5d57450c0e3883f25c3c795c0179d7f5cb79e 100644 (file)
@@ -128,7 +128,7 @@ FGMetar::FGMetar(const string& icao, const string& proxy, const string& port, co
 
        // snow cover
        map<string, SGMetarRunway> rm = getRunways();
-       map<string, SGMetarRunway>::iterator runway;
+       map<string, SGMetarRunway>::const_iterator runway;
        for (runway = rm.begin(); runway != rm.end(); runway++) {
                SGMetarRunway rwy = runway->second;
                if (rwy.getDeposit() >= 3 ) {