Remove some needless GetMakefile() calls.
This commit is contained in:
parent
a367416cec
commit
223d0efe55
|
@ -101,7 +101,7 @@ cmCustomCommandGenerator
|
|||
}
|
||||
else
|
||||
{
|
||||
cmOutputConverter converter(this->LG->GetMakefile()->GetStateSnapshot());
|
||||
cmOutputConverter converter(this->LG->GetStateSnapshot());
|
||||
cmd += converter.EscapeForShell(arg, this->MakeVars);
|
||||
}
|
||||
}
|
||||
|
|
|
@ -139,7 +139,7 @@ void cmGeneratorExpressionEvaluationFile::Generate(cmLocalGenerator *lg)
|
|||
{
|
||||
std::ostringstream e;
|
||||
e << "Evaluation file \"" << this->Input << "\" cannot be read.";
|
||||
lg->GetMakefile()->IssueMessage(cmake::FATAL_ERROR, e.str());
|
||||
lg->IssueMessage(cmake::FATAL_ERROR, e.str());
|
||||
return;
|
||||
}
|
||||
|
||||
|
|
|
@ -495,7 +495,7 @@ cmGlobalUnixMakefileGenerator3
|
|||
// The directory-level rule should depend on the directory-level
|
||||
// rules of the subdirectories.
|
||||
std::vector<cmState::Snapshot> children
|
||||
= lg->GetMakefile()->GetStateSnapshot().GetChildren();
|
||||
= lg->GetStateSnapshot().GetChildren();
|
||||
for(std::vector<cmState::Snapshot>::const_iterator
|
||||
ci = children.begin(); ci != children.end(); ++ci)
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue