Changed fstream to ifstream

This commit is contained in:
Robert Osfield 2004-10-15 09:53:18 +00:00
parent 2a904a4dad
commit 18cd77873a

View File

@ -211,7 +211,7 @@ int main(int argc, char **argv)
std::string flightpath_filename; std::string flightpath_filename;
while (arguments.read("--flight-path",flightpath_filename)) while (arguments.read("--flight-path",flightpath_filename))
{ {
std::fstream fin(flightpath_filename.c_str()); std::ifstream fin(flightpath_filename.c_str());
if (fin) if (fin)
{ {
osg::AnimationPath* path = new osg::AnimationPath; osg::AnimationPath* path = new osg::AnimationPath;