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/examples/osgsimulation/osgsimulation.cpp

    r8868 r9124  
    4747 
    4848#include <osgDB/FileUtils> 
     49#include <osgDB/fstream> 
    4950#include <osgDB/ReadFile> 
    5051 
     
    244245    while (arguments.read("--flight-path",flightpath_filename)) 
    245246    { 
    246         std::ifstream fin(flightpath_filename.c_str()); 
     247        osgDB::ifstream fin(flightpath_filename.c_str()); 
    247248        if (fin) 
    248249        {