list/node: use the data query for value comparison
This commit is contained in:
parent
d9292cb407
commit
1a52f0dd58
@ -195,7 +195,7 @@ namespace cruft::list::node {
|
|||||||
NodeT const *a,
|
NodeT const *a,
|
||||||
NodeT const *b
|
NodeT const *b
|
||||||
) {
|
) {
|
||||||
return m_comparator (a->data, b->data);
|
return m_comparator (data (a), data (b));
|
||||||
}
|
}
|
||||||
|
|
||||||
private:
|
private:
|
||||||
|
Loading…
Reference in New Issue
Block a user