diff options
author | Stephen Kelly <steveire@gmail.com> | 2015-07-07 21:50:54 (GMT) |
---|---|---|
committer | Stephen Kelly <steveire@gmail.com> | 2015-07-18 11:17:24 (GMT) |
commit | 8e7d3030773aae4b1784383abd6af4e5cec087c6 (patch) | |
tree | fa3049521837fbe812877db5dc20d71466252f6f /Source/cmMakefile.cxx | |
parent | 6083ec9a78fd48c66087f9c9e887b9b405c69999 (diff) | |
download | CMake-8e7d3030773aae4b1784383abd6af4e5cec087c6.zip CMake-8e7d3030773aae4b1784383abd6af4e5cec087c6.tar.gz CMake-8e7d3030773aae4b1784383abd6af4e5cec087c6.tar.bz2 |
cmMakefile: Simplify setting of current snapshot.
Diffstat (limited to 'Source/cmMakefile.cxx')
-rw-r--r-- | Source/cmMakefile.cxx | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/Source/cmMakefile.cxx b/Source/cmMakefile.cxx index 647caba..bd13a17 100644 --- a/Source/cmMakefile.cxx +++ b/Source/cmMakefile.cxx @@ -1714,8 +1714,7 @@ public: this->GG = mf->GetGlobalGenerator(); this->CurrentMakefile = this->GG->GetCurrentMakefile(); this->Snapshot = this->GG->GetCMakeInstance()->GetCurrentSnapshot(); - this->GG->GetCMakeInstance()->SetCurrentSnapshot( - this->GG->GetCMakeInstance()->GetCurrentSnapshot()); + this->GG->GetCMakeInstance()->SetCurrentSnapshot(this->Snapshot); this->GG->SetCurrentMakefile(mf); #if defined(CMAKE_BUILD_WITH_CMAKE) this->GG->GetFileLockPool().PushFileScope(); |