[generator] Fixed logic error in WikiChecker::NeedFeature.

This commit is contained in:
Maksim Andrianov 2019-01-11 13:56:22 +03:00 committed by mpimenov
parent 4cdf39a326
commit 4fa6e915bf

View file

@ -204,10 +204,10 @@ public:
{
bool need = true;
feature.ForEachType([&](uint32_t type) {
if (need && !IsMatched(type))
if (need && IsMatched(type))
need = false;
});
return need;
return !need;
}
};