Fix problem with cout
This commit is contained in:
parent
7ae6c2010d
commit
a1d4e79127
1 changed files with 2 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue