summaryrefslogtreecommitdiffstats
path: root/Source/cmake.h
diff options
context:
space:
mode:
authorStephen Kelly <steveire@gmail.com>2016-10-18 19:28:48 (GMT)
committerStephen Kelly <steveire@gmail.com>2016-10-19 13:40:59 (GMT)
commitcde6eb6249cd3211cb3391860221ec32f985e53b (patch)
tree7e00e7e59cdcfe57ad9a2b610159129998918afc /Source/cmake.h
parenta9bf981a4c0ee3aece0b162ba7ebc76ad99330eb (diff)
downloadCMake-cde6eb6249cd3211cb3391860221ec32f985e53b.zip
CMake-cde6eb6249cd3211cb3391860221ec32f985e53b.tar.gz
CMake-cde6eb6249cd3211cb3391860221ec32f985e53b.tar.bz2
cmState: Port dependent code to new cmStateSnapshot name
Diffstat (limited to 'Source/cmake.h')
-rw-r--r--Source/cmake.h9
1 files changed, 3 insertions, 6 deletions
diff --git a/Source/cmake.h b/Source/cmake.h
index cff753f..0a577ad 100644
--- a/Source/cmake.h
+++ b/Source/cmake.h
@@ -407,14 +407,11 @@ public:
void WatchUnusedCli(const std::string& var);
cmState* GetState() const { return this->State; }
- void SetCurrentSnapshot(cmState::Snapshot snapshot)
+ void SetCurrentSnapshot(cmStateSnapshot snapshot)
{
this->CurrentSnapshot = snapshot;
}
- cmState::Snapshot GetCurrentSnapshot() const
- {
- return this->CurrentSnapshot;
- }
+ cmStateSnapshot GetCurrentSnapshot() const { return this->CurrentSnapshot; }
protected:
void RunCheckForUnusedVariables();
@@ -490,7 +487,7 @@ private:
InstalledFilesMap InstalledFiles;
cmState* State;
- cmState::Snapshot CurrentSnapshot;
+ cmStateSnapshot CurrentSnapshot;
cmMessenger* Messenger;
std::vector<std::string> TraceOnlyThisSources;