Message ID | 20110721123638.17019.43234.launchpad@loganberry.canonical.com |
---|---|
State | Accepted |
Headers | show |
=== modified file 'src/model.cpp' --- src/model.cpp 2011-07-12 18:22:45 +0000 +++ src/model.cpp 2011-07-19 13:42:53 +0000 @@ -164,7 +164,7 @@ Log::debug("Loading model from 3ds file '%s'\n", filename.c_str()); - std::fstream input_file(filename.c_str()); + std::ifstream input_file(filename.c_str()); if (!input_file) { Log::error("Could not open 3ds file '%s'\n", filename.c_str()); return false;