list/node: use the data query for value comparison

This commit is contained in:
Danny Robson 2019-09-12 13:34:44 +10:00
parent d9292cb407
commit 1a52f0dd58

View File

@ -195,7 +195,7 @@ namespace cruft::list::node {
NodeT const *a,
NodeT const *b
) {
return m_comparator (a->data, b->data);
return m_comparator (data (a), data (b));
}
private: