]> git.mxchange.org Git - flightgear.git/commitdiff
Changes due to updates in fgstream.
authorcurt <curt>
Fri, 6 Nov 1998 14:04:32 +0000 (14:04 +0000)
committercurt <curt>
Fri, 6 Nov 1998 14:04:32 +0000 (14:04 +0000)
DEM/dem.cxx

index d04bc391744db61c340cb23c20886c84e7af17b1..b9dd62930193ab65ed3743e9259c3f94efd603a2 100644 (file)
@@ -156,7 +156,7 @@ int fgDEM::close () {
 string fgDEM::next_token() {
     string token;
 
-    in->stream() >> token;
+    *in >> token;
 
     // cout << "    returning " + token + "\n";
 
@@ -167,8 +167,8 @@ string fgDEM::next_token() {
 // return next integer from input stream
 int fgDEM::next_int() {
     int result;
-
-    in->stream() >> result;
+    
+    *in >> result;
 
     return result;
 }
@@ -178,7 +178,7 @@ int fgDEM::next_int() {
 double fgDEM::next_double() {
     double result;
 
-    in->stream() >> result;
+    *in >> result;
 
     return result;
 }
@@ -858,6 +858,9 @@ fgDEM::~fgDEM( void ) {
 
 
 // $Log$
+// Revision 1.21  1998/11/06 14:04:32  curt
+// Changes due to updates in fgstream.
+//
 // Revision 1.20  1998/10/28 19:38:20  curt
 // Elliminate some unnecessary win32 specific stuff (by Norman Vine)
 //