Commit d4b8a970 authored by Robert Menzel's avatar Robert Menzel
Browse files

fixed clang compile issue

parent f16f84a7
......@@ -326,7 +326,7 @@ std::istream& loadTextureDataFromPNM_filterPNMComments(std::istream& _in)
SharedTextureData loadTextureDataFromPNM(const std::string &_filename)
{
std::ifstream fileStream( _filename, std::ifstream::in );
std::ifstream fileStream( _filename.c_str() );
if (!fileStream.good()) {
error() << "could not open file " << _filename << std::endl;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment