summaryrefslogtreecommitdiffstats
path: root/Source/cmStateSnapshot.cxx
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2020-06-12 10:52:47 (GMT)
committerBrad King <brad.king@kitware.com>2020-06-18 13:52:05 (GMT)
commitfcea4a3b452c5126d826610f73fb669c2e600726 (patch)
tree20865a060120ce7acfea800bf972cb204d8559f6 /Source/cmStateSnapshot.cxx
parent0a7a4665beaa5a8af42995410e590bc0731d6748 (diff)
downloadCMake-fcea4a3b452c5126d826610f73fb669c2e600726.zip
CMake-fcea4a3b452c5126d826610f73fb669c2e600726.tar.gz
CMake-fcea4a3b452c5126d826610f73fb669c2e600726.tar.bz2
cmStateSnapshot: Invert CanPopPolicyScope return value to match name
Diffstat (limited to 'Source/cmStateSnapshot.cxx')
-rw-r--r--Source/cmStateSnapshot.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/cmStateSnapshot.cxx b/Source/cmStateSnapshot.cxx
index c223431..15a98af 100644
--- a/Source/cmStateSnapshot.cxx
+++ b/Source/cmStateSnapshot.cxx
@@ -148,7 +148,7 @@ bool cmStateSnapshot::PopPolicy()
bool cmStateSnapshot::CanPopPolicyScope()
{
- return this->Position->Policies == this->Position->PolicyScope;
+ return this->Position->Policies != this->Position->PolicyScope;
}
void cmStateSnapshot::SetPolicy(cmPolicies::PolicyID id,