diff options
author | Maksim Andrianov <maksimandrianov1@gmail.com> | 2019-01-11 13:56:22 +0300 |
---|---|---|
committer | mpimenov <mpimenov@users.noreply.github.com> | 2019-01-30 19:43:32 +0300 |
commit | 4fa6e915bfab1502a765d4206acbbad94cc1ea2d (patch) | |
tree | 4bfe32b6d18c21f124e098b2313f83b8ae238235 /indexer | |
parent | 4cdf39a3268c4a90043055653af8ba4b78867137 (diff) |
[generator] Fixed logic error in WikiChecker::NeedFeature.
Diffstat (limited to 'indexer')
-rw-r--r-- | indexer/ftypes_matcher.hpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/indexer/ftypes_matcher.hpp b/indexer/ftypes_matcher.hpp index 018d0ed932..150e3b4b9b 100644 --- a/indexer/ftypes_matcher.hpp +++ b/indexer/ftypes_matcher.hpp @@ -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; } }; |