Commit e28e110d authored by Stephen Kelly's avatar Stephen Kelly
Browse files

cmMakefile: Rename a variable.

parent 3f5200ec
...@@ -1630,13 +1630,13 @@ bool cmMakefile::IsRootMakefile() const ...@@ -1630,13 +1630,13 @@ bool cmMakefile::IsRootMakefile() const
class cmMakefileCurrent class cmMakefileCurrent
{ {
cmGlobalGenerator* GG; cmGlobalGenerator* GG;
cmMakefile* MF; cmMakefile* CurrentMakefile;
cmState::Snapshot Snapshot; cmState::Snapshot Snapshot;
public: public:
cmMakefileCurrent(cmMakefile* mf) cmMakefileCurrent(cmMakefile* mf)
{ {
this->GG = mf->GetGlobalGenerator(); this->GG = mf->GetGlobalGenerator();
this->MF = this->GG->GetCurrentMakefile(); this->CurrentMakefile = this->GG->GetCurrentMakefile();
this->Snapshot = this->GG->GetCMakeInstance()->GetCurrentSnapshot(); this->Snapshot = this->GG->GetCMakeInstance()->GetCurrentSnapshot();
this->GG->GetCMakeInstance()->SetCurrentSnapshot( this->GG->GetCMakeInstance()->SetCurrentSnapshot(
this->GG->GetCMakeInstance()->GetCurrentSnapshot()); this->GG->GetCMakeInstance()->GetCurrentSnapshot());
...@@ -1650,7 +1650,7 @@ public: ...@@ -1650,7 +1650,7 @@ public:
#if defined(CMAKE_BUILD_WITH_CMAKE) #if defined(CMAKE_BUILD_WITH_CMAKE)
this->GG->GetFileLockPool().PopFileScope(); this->GG->GetFileLockPool().PopFileScope();
#endif #endif
this->GG->SetCurrentMakefile(this->MF); this->GG->SetCurrentMakefile(this->CurrentMakefile);
this->GG->GetCMakeInstance()->SetCurrentSnapshot(this->Snapshot); this->GG->GetCMakeInstance()->SetCurrentSnapshot(this->Snapshot);
} }
}; };
......
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