diff options
author | Stephen Kelly <steveire@gmail.com> | 2015-06-06 07:40:58 (GMT) |
---|---|---|
committer | Stephen Kelly <steveire@gmail.com> | 2015-06-06 08:09:45 (GMT) |
commit | 44a8115797cc3f804d653928d71b126b39e29210 (patch) | |
tree | e977640b0b8ea2acdd32ece79852e886c2125314 /Source/cmPolicies.h | |
parent | 1981c9718b7099670b03535a241c735477d6bc6c (diff) | |
download | CMake-44a8115797cc3f804d653928d71b126b39e29210.zip CMake-44a8115797cc3f804d653928d71b126b39e29210.tar.gz CMake-44a8115797cc3f804d653928d71b126b39e29210.tar.bz2 |
cmPolicies: Replace UNDEFINED bitset with WARN bitset.
Might as well use the existing concept.
Diffstat (limited to 'Source/cmPolicies.h')
-rw-r--r-- | Source/cmPolicies.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/Source/cmPolicies.h b/Source/cmPolicies.h index 00d857a..8c72dfe 100644 --- a/Source/cmPolicies.h +++ b/Source/cmPolicies.h @@ -281,15 +281,14 @@ public: /** Represent a set of policy values. */ struct PolicyMap { - PolicyMap(); PolicyStatus Get(PolicyID id) const; void Set(PolicyID id, PolicyStatus status); bool IsDefined(PolicyID id) const; bool IsEmpty() const; private: - std::bitset<cmPolicies::CMPCOUNT> UNDEFINED; std::bitset<cmPolicies::CMPCOUNT> OLD; + std::bitset<cmPolicies::CMPCOUNT> WARN; std::bitset<cmPolicies::CMPCOUNT> NEW; std::bitset<cmPolicies::CMPCOUNT> REQUIRED_IF_USED; std::bitset<cmPolicies::CMPCOUNT> REQUIRED_ALWAYS; |