mirror of
https://github.com/boostorg/move.git
synced 2025-07-31 21:04:27 +02:00
Fix gcc 9 deprecated copy warnings in antistable.
This commit is contained in:
@@ -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); }
|
||||
|
Reference in New Issue
Block a user