diff options
author | Stephen Kelly <steveire@gmail.com> | 2015-10-05 22:33:49 (GMT) |
---|---|---|
committer | Stephen Kelly <steveire@gmail.com> | 2015-10-07 18:19:42 (GMT) |
commit | 28749903b67d71b35f6ff74dab7c6db1a648a1c8 (patch) | |
tree | a976993929c37e41cef23d593fa5572b20cde541 /Source/cmState.h | |
parent | 6c02f62f75735f6e60549ef53b06bd87e843bc35 (diff) | |
download | CMake-28749903b67d71b35f6ff74dab7c6db1a648a1c8.zip CMake-28749903b67d71b35f6ff74dab7c6db1a648a1c8.tar.gz CMake-28749903b67d71b35f6ff74dab7c6db1a648a1c8.tar.bz2 |
cmState: Internalize the initialization of a snapshot from its parent.
Diffstat (limited to 'Source/cmState.h')
-rw-r--r-- | Source/cmState.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/Source/cmState.h b/Source/cmState.h index 99e537c..1ffc4bf 100644 --- a/Source/cmState.h +++ b/Source/cmState.h @@ -75,8 +75,6 @@ public: Snapshot GetCallStackParent() const; SnapshotType GetType() const; - void InitializeFromParent(); - void SetPolicy(cmPolicies::PolicyID id, cmPolicies::PolicyStatus status); cmPolicies::PolicyStatus GetPolicy(cmPolicies::PolicyID id) const; bool HasDefinedPolicyCMP0011(); @@ -105,6 +103,9 @@ public: friend class cmState; friend class Directory; friend struct StrictWeakOrder; + + void InitializeFromParent(); + cmState* State; cmState::PositionType Position; }; |