Show
Ignore:
Timestamp:
11/07/08 16:08:08 (5 years ago)
Author:
robert
Message:

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.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • OpenSceneGraph/trunk/src/osgPlugins/OpenFlight/ReaderWriterATTR.cpp

    r8578 r9124  
    6868    if (fileName.empty()) return ReadResult::FILE_NOT_FOUND; 
    6969 
    70     std::ifstream fin; 
     70    osgDB::ifstream fin; 
    7171    fin.imbue(std::locale::classic()); 
    7272    fin.open(fileName.c_str(), std::ios::in | std::ios::binary); 
     
    210210    } 
    211211 
    212     std::ofstream fOut; 
     212    osgDB::ofstream fOut; 
    213213    fOut.open( fileName.c_str(), std::ios::out | std::ios::binary ); 
    214214