3
0
Fork 0
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:
Nikolaj Bjorner 2017-10-24 13:20:19 -07:00
parent 6300a78b82
commit 31dfc0c610
2 changed files with 15 additions and 5 deletions

View file

@ -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()) {