]> git.mxchange.org Git - flightgear.git/blobdiff - src/Airports/simple.cxx
Multiplayer client/server system -- MessageBuf class and test harness complete
[flightgear.git] / src / Airports / simple.cxx
index 7bfe300a115d014dcd0d24b74f4a8628c83a4772..cbfcea2a95f747bc6797f2eb3e62a6c2fc8919d1 100644 (file)
@@ -33,8 +33,6 @@
 #include <simgear/misc/sgstream.hxx>
 
 #include STL_STRING
-#include STL_FUNCTIONAL
-#include STL_ALGORITHM
 #include STL_IOSTREAM
 
 #include "simple.hxx"
@@ -71,8 +69,8 @@ FGAirportList::FGAirportList( const string& file ) {
     // skip header line
     in >> skipeol;
 
+    FGAirport a;
     while ( in ) {
-        FGAirport a;
         in >> a;
         airports[a.id] = a;
     }