diff options
author | Stephen Kelly <steveire@gmail.com> | 2015-05-23 06:02:54 (GMT) |
---|---|---|
committer | Stephen Kelly <steveire@gmail.com> | 2015-06-02 23:15:03 (GMT) |
commit | cf1233a0eab7cec757d2929cc7373f94ba4fa8a8 (patch) | |
tree | c38dbfb57ab5b55ff8e4f87ead9cb438d6950981 /Source/cmState.cxx | |
parent | 942df88bf83e99abbfbd69207369096fa7cf67a2 (diff) | |
download | CMake-cf1233a0eab7cec757d2929cc7373f94ba4fa8a8.zip CMake-cf1233a0eab7cec757d2929cc7373f94ba4fa8a8.tar.gz CMake-cf1233a0eab7cec757d2929cc7373f94ba4fa8a8.tar.bz2 |
cmState: Rename GetParent method.
Leave the namespace open for other Parent types.
Diffstat (limited to 'Source/cmState.cxx')
-rw-r--r-- | Source/cmState.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Source/cmState.cxx b/Source/cmState.cxx index 87892b4..c6fb299 100644 --- a/Source/cmState.cxx +++ b/Source/cmState.cxx @@ -590,7 +590,7 @@ void cmState::Snapshot::ComputeRelativePathTopSource() snapshots.push_back(snapshot); while (true) { - snapshot = snapshot.GetParent(); + snapshot = snapshot.GetBuildsystemDirectoryParent(); if (snapshot.IsValid()) { snapshots.push_back(snapshot); @@ -622,7 +622,7 @@ void cmState::Snapshot::ComputeRelativePathTopBinary() snapshots.push_back(snapshot); while (true) { - snapshot = snapshot.GetParent(); + snapshot = snapshot.GetBuildsystemDirectoryParent(); if (snapshot.IsValid()) { snapshots.push_back(snapshot); @@ -775,7 +775,7 @@ bool cmState::Snapshot::IsValid() const return this->State ? true : false; } -cmState::Snapshot cmState::Snapshot::GetParent() const +cmState::Snapshot cmState::Snapshot::GetBuildsystemDirectoryParent() const { Snapshot snapshot; if (!this->State || this->Position == 0) |