comparators: fix yet another implicit conversion related bug
This commit is contained in:
@@ -61,7 +61,7 @@ public:
|
|||||||
|
|
||||||
template <typename ItemT, typename FunT>
|
template <typename ItemT, typename FunT>
|
||||||
bool operator()(const ExecItem<ItemT, FunT> &a, const ExecItem<ItemT, FunT> &b) const {
|
bool operator()(const ExecItem<ItemT, FunT> &a, const ExecItem<ItemT, FunT> &b) const {
|
||||||
return m_cmp(a.item(), b.item());
|
return m_cmp(a.item(), b.item()) < 0;
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user