]> git.mxchange.org Git - flightgear.git/blobdiff - src/FDM/UIUCModel/uiuc_menu_init.cpp
Units bug.
[flightgear.git] / src / FDM / UIUCModel / uiuc_menu_init.cpp
index 40d678975b25d7f354826a20d08055071730e6f0..2cec96f27e7221c026fe65833d7aa7453b75e6e8 100644 (file)
 ----------------------------------------------------------------------
 
  HISTORY:      04/04/2003   initial release
+               06/30/2003   (RD) replaced istrstream with istringstream
+                            to get rid of the annoying warning about
+                            using the strstream header
+               08/20/2003   (RD) removed old_flap_routine
 
 ----------------------------------------------------------------------
 
@@ -97,14 +101,14 @@ void parse_init( const string& linetoken2, const string& linetoken3,
                 const string& linetoken10, const string& aircraft_directory,
                 LIST command_line ) {
     double token_value;
-    istrstream token3(linetoken3.c_str());
-    istrstream token4(linetoken4.c_str());
-    istrstream token5(linetoken5.c_str());
-    istrstream token6(linetoken6.c_str());
-    istrstream token7(linetoken7.c_str());
-    istrstream token8(linetoken8.c_str());
-    istrstream token9(linetoken9.c_str());
-    istrstream token10(linetoken10.c_str());
+    istringstream token3(linetoken3.c_str());
+    istringstream token4(linetoken4.c_str());
+    istringstream token5(linetoken5.c_str());
+    istringstream token6(linetoken6.c_str());
+    istringstream token7(linetoken7.c_str());
+    istringstream token8(linetoken8.c_str());
+    istringstream token9(linetoken9.c_str());
+    istringstream token10(linetoken10.c_str());
     int token_value_recordRate;
 
     switch(init_map[linetoken2])
@@ -471,11 +475,6 @@ void parse_init( const string& linetoken2, const string& linetoken3,
          token4 >> port_num;
          break;
        }
-      case old_flap_routine_flag:
-       {
-         old_flap_routine = true;
-         break;
-       }
       case icing_demo_flag:
        {
          icing_demo = true;