Skip to content
Snippets Groups Projects
Commit d4b8a970 authored by Robert Menzel's avatar Robert Menzel
Browse files

fixed clang compile issue

parent f16f84a7
No related branches found
No related tags found
No related merge requests found
......@@ -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;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment