mirror of
https://gitlab.kitware.com/cmake/cmake.git
synced 2026-10-11 23:43:58 +03:00
cmMakefile: Rename a variable.
This commit is contained in:
1 parent
3f5200ec5f
commit
e28e110d22
1 file changed
+3
-3
@@ -1630,13 +1630,13 @@ bool cmMakefile::IsRootMakefile() const
|
||||
class cmMakefileCurrent
|
||||
{
|
||||
cmGlobalGenerator* GG;
|
||||
cmMakefile* MF;
|
||||
cmMakefile* CurrentMakefile;
|
||||
cmState::Snapshot Snapshot;
|
||||
public:
|
||||
cmMakefileCurrent(cmMakefile* mf)
|
||||
{
|
||||
this->GG = mf->GetGlobalGenerator();
|
||||
this->MF = this->GG->GetCurrentMakefile();
|
||||
this->CurrentMakefile = this->GG->GetCurrentMakefile();
|
||||
this->Snapshot = this->GG->GetCMakeInstance()->GetCurrentSnapshot();
|
||||
this->GG->GetCMakeInstance()->SetCurrentSnapshot(
|
||||
this->GG->GetCMakeInstance()->GetCurrentSnapshot());
|
||||
@@ -1650,7 +1650,7 @@ public:
|
||||
#if defined(CMAKE_BUILD_WITH_CMAKE)
|
||||
this->GG->GetFileLockPool().PopFileScope();
|
||||
#endif
|
||||
this->GG->SetCurrentMakefile(this->MF);
|
||||
this->GG->SetCurrentMakefile(this->CurrentMakefile);
|
||||
this->GG->GetCMakeInstance()->SetCurrentSnapshot(this->Snapshot);
|
||||
}
|
||||
};
|
||||
|
||||
Reference in new issue
Block a user