Fixes to Windows build in liu of the move to using just std::streams.
This commit is contained in:
@@ -15,7 +15,7 @@ using namespace osgDB;
|
||||
bool osgDB::writeObjectFile(const Object& object,const std::string& filename)
|
||||
{
|
||||
ReaderWriter::WriteResult wr = Registry::instance()->writeObject(object,filename);
|
||||
if (wr.error()) notify(WARN) << wr.message() << endl;
|
||||
if (wr.error()) notify(WARN) << wr.message() << std::endl;
|
||||
return wr.success();
|
||||
}
|
||||
|
||||
@@ -23,7 +23,7 @@ bool osgDB::writeObjectFile(const Object& object,const std::string& filename)
|
||||
bool osgDB::writeImageFile(const Image& image,const std::string& filename)
|
||||
{
|
||||
ReaderWriter::WriteResult wr = Registry::instance()->writeImage(image,filename);
|
||||
if (wr.error()) notify(WARN) << wr.message() << endl;
|
||||
if (wr.error()) notify(WARN) << wr.message() << std::endl;
|
||||
return wr.success();
|
||||
}
|
||||
|
||||
@@ -31,6 +31,6 @@ bool osgDB::writeImageFile(const Image& image,const std::string& filename)
|
||||
bool osgDB::writeNodeFile(const Node& node,const std::string& filename)
|
||||
{
|
||||
ReaderWriter::WriteResult wr = Registry::instance()->writeNode(node,filename);
|
||||
if (wr.error()) notify(WARN) << wr.message() << endl;
|
||||
if (wr.error()) notify(WARN) << wr.message() << std::endl;
|
||||
return wr.success();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user