]> git.mxchange.org Git - flightgear.git/commitdiff
Fix problem with cout
authordaveluff <daveluff>
Fri, 3 Jan 2003 16:30:44 +0000 (16:30 +0000)
committerdaveluff <daveluff>
Fri, 3 Jan 2003 16:30:44 +0000 (16:30 +0000)
src/ATC/ground.cxx

index bd918d075af711938a9257adffba2b30c6163e7d..f713a69e71b758112c06dc0c7080c3dba708a08c 100644 (file)
@@ -31,6 +31,7 @@
 #include "ground.hxx"
 
 SG_USING_STD(ifstream);
+SG_USING_STD(cout);
 
 FGGround::FGGround() {
        display = false;
@@ -89,7 +90,7 @@ bool FGGround::LoadNetwork() {
                // Node, arc, or [End]?
                //cout << "Read in ground network element type = " << buf << endl;
                if(!strcmp(buf, "[End]")) {             // TODO - maybe make this more robust to spelling errors by just looking for '['
-                       cout << "Done reading " << path.c_str() << endl;
+                       SG_LOG(SG_GENERAL, SG_INFO, "Done reading " << path.c_str() << endl);
                        break;
                } else if(!strcmp(buf, "N")) {
                        // Node