Fixes to Windows build in liu of the move to using just std::streams.

This commit is contained in:
Robert Osfield
2001-12-14 23:18:28 +00:00
parent b1f478e5d2
commit 478274ae7d
67 changed files with 533 additions and 528 deletions

View File

@@ -13,7 +13,7 @@ Object* osgDB::readObjectFile(const std::string& filename)
{
ReaderWriter::ReadResult rr = Registry::instance()->readObject(filename);
if (rr.validObject()) return rr.takeObject();
if (rr.error()) notify(WARN) << rr.message() << endl;
if (rr.error()) notify(WARN) << rr.message() << std::endl;
return NULL;
}
@@ -22,7 +22,7 @@ Image* osgDB::readImageFile(const std::string& filename)
{
ReaderWriter::ReadResult rr = Registry::instance()->readImage(filename);
if (rr.validImage()) return rr.takeImage();
if (rr.error()) notify(WARN) << rr.message() << endl;
if (rr.error()) notify(WARN) << rr.message() << std::endl;
return NULL;
}
@@ -31,6 +31,6 @@ Node* osgDB::readNodeFile(const std::string& filename)
{
ReaderWriter::ReadResult rr = Registry::instance()->readNode(filename);
if (rr.validNode()) return rr.takeNode();
if (rr.error()) notify(WARN) << rr.message() << endl;
if (rr.error()) notify(WARN) << rr.message() << std::endl;
return NULL;
}