PISet fix

This commit is contained in:
2024-04-05 21:02:37 +03:00
parent 9f29155d07
commit 04d3e31dbc
2 changed files with 13 additions and 11 deletions

View File

@@ -210,7 +210,7 @@ public:
//! Intersect set with "v"
PISet<T> & intersect(const PISet<T> & v) {
_CSet::removeWhere([&v](const T & k, uchar) { return v.contains(k); });
_CSet::removeWhere([&v](const T & k, uchar) { return !v.contains(k); });
return *this;
}