summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStephen Kelly <steveire@gmail.com>2015-06-26 00:11:51 +0200
committerStephen Kelly <steveire@gmail.com>2015-06-30 23:14:22 +0200
commite28e110d221a50687cc9922743366b2f34ccd852 (patch)
treed37b692c38b6c3d5551bc1b82f518b072f4d20bb
parent3f5200ec5f17de36d0db1729d61e520fb014abe5 (diff)
downloadcmake-e28e110d221a50687cc9922743366b2f34ccd852.tar.gz
cmMakefile: Rename a variable.
-rw-r--r--Source/cmMakefile.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/Source/cmMakefile.cxx b/Source/cmMakefile.cxx
index 79f4c44d57..0edced5f60 100644
--- a/Source/cmMakefile.cxx
+++ b/Source/cmMakefile.cxx
@@ -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);
}
};