3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2025-04-24 01:25:31 +00:00

deal with compiler warnings, from MacOS CI build

This commit is contained in:
Nikolaj Bjorner 2021-03-08 17:14:09 -08:00
parent 7eceeff349
commit f29a596070
13 changed files with 19 additions and 25 deletions

View file

@ -30,7 +30,7 @@ Revision History:
template<class Set1, class Set2>
void set_intersection(Set1 & tgt, const Set2 & src) {
svector<typename Set1::data> to_remove;
for (auto const& itm : tgt)
for (typename Set1::data const& itm : tgt)
if (!src.contains(itm))
to_remove.push_back(itm);
while (!to_remove.empty()) {