1
0
forked from boostorg/move

Merge pull request #24 from Romain-Geissler-1A/deprecated-copy-warning

Fix gcc 9 deprecated copy warnings in antistable.
This commit is contained in:
Ion Gaztañaga
2019-03-30 12:43:35 +01:00
committed by GitHub

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); }