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:
@@ -28,6 +28,7 @@
|
||||
#include <osgDB/Registry>
|
||||
#include <osgDB/FileUtils>
|
||||
#include <osgDB/FileNameUtils>
|
||||
#include <osgDB/fstream>
|
||||
#include <osgDB/Archive>
|
||||
|
||||
#include <algorithm>
|
||||
@@ -574,7 +575,7 @@ bool Registry::readPluginAliasConfigurationFile( const std::string& file )
|
||||
return false;
|
||||
}
|
||||
|
||||
std::ifstream ifs;
|
||||
osgDB::ifstream ifs;
|
||||
ifs.open( fileName.c_str() );
|
||||
if (!ifs.good())
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user