Commit bdbfbc49 authored by Lars Krecklau's avatar Lars Krecklau
Browse files

Fixed bug in the file factory caused by the keyword typename.

parent 0a93e8ed
......@@ -22,7 +22,7 @@ SharedTextureDataControlFile TextureDataControlFileFactory::create(const std::st
std::string file;
std::string extension;
splitFileExtension(_filename, file, extension);
typename FactoryMap::const_iterator existingCreator = mFactoryMap.find(extension);
FactoryMap::const_iterator existingCreator = mFactoryMap.find(extension);
if(existingCreator != mFactoryMap.end())
return existingCreator->second(_filename);
return SharedTextureDataControlFile();
......
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