summaryrefslogtreecommitdiffstats
path: root/Source/cmState.cxx
diff options
context:
space:
mode:
authorStephen Kelly <steveire@gmail.com>2015-06-04 17:33:38 (GMT)
committerStephen Kelly <steveire@gmail.com>2015-06-04 18:20:25 (GMT)
commita82441572493e4f420fca24041b594da9d3c14e6 (patch)
tree550efdfdbf1438b7bcb288adcc2941f92bdd5a28 /Source/cmState.cxx
parent1f4ef39603f3184ac3f78e1f52529947303b1bd1 (diff)
downloadCMake-a82441572493e4f420fca24041b594da9d3c14e6.zip
CMake-a82441572493e4f420fca24041b594da9d3c14e6.tar.gz
CMake-a82441572493e4f420fca24041b594da9d3c14e6.tar.bz2
cmState::Snapshot: Provide accessor for the cmState.
Diffstat (limited to 'Source/cmState.cxx')
-rw-r--r--Source/cmState.cxx5
1 files changed, 5 insertions, 0 deletions
diff --git a/Source/cmState.cxx b/Source/cmState.cxx
index c6fb299..3278d56 100644
--- a/Source/cmState.cxx
+++ b/Source/cmState.cxx
@@ -787,3 +787,8 @@ cmState::Snapshot cmState::Snapshot::GetBuildsystemDirectoryParent() const
return snapshot;
}
+
+cmState* cmState::Snapshot::GetState() const
+{
+ return this->State;
+}