mirror of
https://github.com/Z3Prover/z3
synced 2025-08-08 04:01:22 +00:00
fix build, fix #1322
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
This commit is contained in:
parent
6300a78b82
commit
31dfc0c610
2 changed files with 15 additions and 5 deletions
|
@ -31,7 +31,7 @@ Revision History:
|
|||
template<class Set1, class Set2>
|
||||
void set_intersection(Set1 & tgt, const Set2 & src) {
|
||||
svector<typename Set1::data> to_remove;
|
||||
for (Set1::data itm : tgt)
|
||||
for (auto const& itm : tgt)
|
||||
if (!src.contains(itm))
|
||||
to_remove.push_back(itm);
|
||||
while (!to_remove.empty()) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue