Unverified Commit 70205f5d authored by Tindy X's avatar Tindy X Committed by GitHub
Browse files

Fix 'comparison object must be invocable as const' (#846)

parent 9b8f3509
......@@ -20,7 +20,7 @@ namespace detail {
class node {
private:
struct less {
bool operator ()(const node* l, const node* r) {return l->m_index < r->m_index;}
bool operator ()(const node* l, const node* r) const {return l->m_index < r->m_index;}
};
public:
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment