Fix compile error at GCC11
Fixes #3273 Signed-off-by: HungMingWu <u9089000@gmail.com>
This commit is contained in:
parent
8c58612a3b
commit
78147ee8d7
|
|
@ -31,6 +31,7 @@ Graham Rushton
|
||||||
Harald Heckmann
|
Harald Heckmann
|
||||||
Howard Su
|
Howard Su
|
||||||
Huang Rui
|
Huang Rui
|
||||||
|
HungMingWu
|
||||||
HyungKi Jeong
|
HyungKi Jeong
|
||||||
Iru Cai
|
Iru Cai
|
||||||
Ivan Vnučec
|
Ivan Vnučec
|
||||||
|
|
|
||||||
|
|
@ -141,7 +141,7 @@ private:
|
||||||
}
|
}
|
||||||
|
|
||||||
struct EdgeListCmp final {
|
struct EdgeListCmp final {
|
||||||
bool operator()(const EdgeList* ap, const EdgeList* bp) {
|
bool operator()(const EdgeList* ap, const EdgeList* bp) const {
|
||||||
// Simply compare heads
|
// Simply compare heads
|
||||||
return edgeCmp(bp->back(), ap->back());
|
return edgeCmp(bp->back(), ap->back());
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue