Commit 5af95c39 authored by Ben Boeckel's avatar Ben Boeckel Committed by Brad King
Browse files

typo: Match argument name with the header

parent 2b17626e
......@@ -988,13 +988,13 @@ void cmGlobalGenerator::FillExtensionToLanguageMap(const std::string& l,
}
}
bool cmGlobalGenerator::IgnoreFile(const char* l) const
bool cmGlobalGenerator::IgnoreFile(const char* ext) const
{
if(!this->GetLanguageFromExtension(l).empty())
if(!this->GetLanguageFromExtension(ext).empty())
{
return false;
}
return (this->IgnoreExtensions.count(l) > 0);
return (this->IgnoreExtensions.count(ext) > 0);
}
bool cmGlobalGenerator::GetLanguageEnabled(const std::string& l) const
......
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