fix gating (#1306)

This commit is contained in:
David Markowitz 2023-11-19 10:01:34 -08:00 committed by GitHub
parent 8e84cafdfa
commit 98dc291b57
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -44,7 +44,7 @@ std::vector<CDFeatureGating> CDFeatureGatingTable::Query(std::function<bool(CDFe
bool CDFeatureGatingTable::FeatureUnlocked(const CDFeatureGating& feature) const {
for (const auto& entry : entries) {
if (entry.featureName == feature.featureName && entry >= feature) {
if (entry.featureName == feature.featureName && feature >= entry) {
return true;
}
}