]> git.mxchange.org Git - flightgear.git/blobdiff - src/FDM/UIUCModel/uiuc_menu_CL.cpp
Harald JOHNSEN:
[flightgear.git] / src / FDM / UIUCModel / uiuc_menu_CL.cpp
index 772f099910d151573fe412bd8b94faea982c8c05..dc73e03ab8b28ac0d58b57554e768b4568059d5c 100644 (file)
@@ -18,6 +18,9 @@
 ----------------------------------------------------------------------
 
  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
 
 ----------------------------------------------------------------------
 
@@ -103,14 +106,14 @@ void parse_CL( const string& linetoken2, const string& linetoken3,
     double datafile_zArray[100][100];
     double convert_f;
     int datafile_nxArray[100], datafile_ny;
-    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());
 
     static bool CZfabetaf_first = true;
     static bool CZfadef_first = true;
@@ -282,14 +285,14 @@ void parse_CL( const string& linetoken2, const string& linetoken3,
          aeroLiftParts -> storeCommands (*command_line);
          
          // additional variables to streamline flap routine in aerodeflections
-         ndf = CLfdf_ndf;
-         int temp_counter = 1;
-         while (temp_counter <= ndf)
-           {
-             dfArray[temp_counter] = CLfdf_dfArray[temp_counter];
-             TimeArray[temp_counter] = dfTimefdf_TimeArray[temp_counter];
-             temp_counter++;
-           }
+         //ndf = CLfdf_ndf;
+         //int temp_counter = 1;
+         //while (temp_counter <= ndf)
+         //  {
+         //    dfArray[temp_counter] = CLfdf_dfArray[temp_counter];
+         //    TimeArray[temp_counter] = dfTimefdf_TimeArray[temp_counter];
+         //    temp_counter++;
+         //  }
          break;
        }
       case CLfadf_flag: