]> git.mxchange.org Git - flightgear.git/commit
Stefan C. Müller :
authorfredb <fredb>
Sun, 31 Aug 2008 18:32:43 +0000 (18:32 +0000)
committerfredb <fredb>
Sun, 31 Aug 2008 18:32:43 +0000 (18:32 +0000)
commitb53badf201a12c6bd4665347f8a70d4d48e13a84
treeb17102eed5c700a1bf2c98f8dcdde663a16473dc
parentfbdc0962dd6ff6ad9c816f534709660d9511d09d
Stefan C. Müller :
Small patch fixing bugs I've encountered while getting the current CVS to build in MSVC.
* std::lower_bound was used with the key-type of a map, but lower_bound expects the value-type of the collection it works on, with is std::pair. MSVC seems to be more strict about this.
* Added an missing include statement.
* Replaced an rint() call with floor() (MSVC does not offer rint).
src/Airports/simple.cxx
src/Main/metar_main.cxx
src/Navaids/fixlist.cxx