3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2025-04-08 10:25:18 +00:00

build errors on shrink

Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
This commit is contained in:
Nikolaj Bjorner 2018-11-19 09:42:10 -08:00
parent 5a825d7ac3
commit 04d709dae1

View file

@ -321,6 +321,8 @@ public:
return result;
}
#if 0
// TBD: not sure why some compilers complain here.
ref_vector& filter_update(std::function<bool(T)>& predicate) {
unsigned j = 0;
for (auto& t : *this)
@ -329,6 +331,7 @@ public:
shrink(j);
return *this;
}
#endif
template <typename S>
vector<S> mapv_pure(std::function<S(T)>& f) const {