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
|
||||
Howard Su
|
||||
Huang Rui
|
||||
HungMingWu
|
||||
HyungKi Jeong
|
||||
Iru Cai
|
||||
Ivan Vnučec
|
||||
|
|
|
|||
|
|
@ -141,7 +141,7 @@ private:
|
|||
}
|
||||
|
||||
struct EdgeListCmp final {
|
||||
bool operator()(const EdgeList* ap, const EdgeList* bp) {
|
||||
bool operator()(const EdgeList* ap, const EdgeList* bp) const {
|
||||
// Simply compare heads
|
||||
return edgeCmp(bp->back(), ap->back());
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue