comparators: fix yet another implicit conversion related bug

This commit is contained in:
Andrzej Rybczak
2012-10-02 03:39:44 +02:00
parent 1e335fae02
commit 592a156aaa

View File

@@ -61,7 +61,7 @@ public:
template <typename ItemT, typename FunT>
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;
}
};