Skip to content

Commit

Permalink
build errors on shrink
Browse files Browse the repository at this point in the history
Signed-off-by: Nikolaj Bjorner <[email protected]>
  • Loading branch information
NikolajBjorner committed Nov 19, 2018
1 parent 5a825d7 commit 04d709d
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/util/ref_vector.h
Original file line number Diff line number Diff line change
Expand Up @@ -321,6 +321,8 @@ class ref_vector : public ref_vector_core<T, ref_manager_wrapper<T, TManager> >
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)
Expand All @@ -329,6 +331,7 @@ class ref_vector : public ref_vector_core<T, ref_manager_wrapper<T, TManager> >
shrink(j);
return *this;
}
#endif

template <typename S>
vector<S> mapv_pure(std::function<S(T)>& f) const {
Expand Down

0 comments on commit 04d709d

Please sign in to comment.