diff --git a/include/boost/move/algo/predicate.hpp b/include/boost/move/algo/predicate.hpp index 0287d66..01f9586 100644 --- a/include/boost/move/algo/predicate.hpp +++ b/include/boost/move/algo/predicate.hpp @@ -28,6 +28,10 @@ struct antistable : m_comp(comp) {} + antistable(const antistable & other) + : m_comp(other.m_comp) + {} + template bool operator()(const U &u, const V & v) { return !m_comp(v, u); }