From Michael Platings, Converted std::fstream/ifstream/ofstream to osgDB::fstream/ifstream/ofstream and
fopen to osgDB::fopen to facilitate support for wide character filenames using UT8 encoding.
This commit is contained in:
@@ -29,7 +29,7 @@ Output::Output()
|
||||
init();
|
||||
}
|
||||
|
||||
Output::Output(const char* name) : ofstream(name)
|
||||
Output::Output(const char* name) : osgDB::ofstream(name)
|
||||
{
|
||||
init();
|
||||
_filename = name;
|
||||
@@ -70,7 +70,7 @@ void Output::setOptions(const ReaderWriter::Options* options)
|
||||
void Output::open(const char *name)
|
||||
{
|
||||
init();
|
||||
ofstream::open(name);
|
||||
osgDB::ofstream::open(name);
|
||||
_filename = name;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user