Fix gcc 9 deprecated copy warnings in antistable.

This commit is contained in:
Romain Geissler
2019-03-22 10:34:14 +00:00
parent 756c964798
commit 68d57d8cab

View File

@@ -28,6 +28,10 @@ struct antistable
: m_comp(comp)
{}
antistable(const antistable & other)
: m_comp(other.m_comp)
{}
template<class U, class V>
bool operator()(const U &u, const V & v)
{ return !m_comp(v, u); }