1
0
Fork 0

Fix problem with cout

This commit is contained in:
daveluff 2003-01-03 16:30:44 +00:00
parent 7ae6c2010d
commit a1d4e79127

View 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