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:
Robert Osfield
2008-11-07 15:08:08 +00:00
parent 0ccf7d8383
commit 720551d549
76 changed files with 516 additions and 161 deletions

View File

@@ -8,13 +8,13 @@
#include <osg/BoundingBox>
#include <osg/BoundingSphere>
#include <osgDB/fstream>
#include <OpenThreads/Version>
#include <set>
#include <vector>
#include <iostream>
#include <fstream>
// the majority of the application is dedicated to building the
// current contribitors list by parsing the ChangeLog, it just takes
@@ -676,7 +676,7 @@ bool submissionsSequence(const Words& words, unsigned int& i)
void readContributors(NameMap& names, const std::string& file)
{
std::ifstream fin(file.c_str());
osgDB::ifstream fin(file.c_str());
Words words;
while(fin)