Fixes to Windows build in liu of the move to using just std::streams.
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user