Skip to content

Commit

Permalink
fix gating
Browse files Browse the repository at this point in the history
  • Loading branch information
EmosewaMC committed Nov 19, 2023
1 parent 8e84caf commit 81b1b73
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
}
Expand Down

0 comments on commit 81b1b73

Please sign in to comment.