fix: build on recent gcc14

This commit is contained in:
jeefo 2024-05-15 10:14:18 +03:00
commit 1df9da852c
No known key found for this signature in database
GPG key ID: D696786B81B667C8
3 changed files with 4 additions and 3 deletions

View file

@ -269,7 +269,7 @@ public:
public:
int32_t getMaxRouteLength () const {
return length () / 2;
return (length () / 2) + (kMaxNodes / 256);
}
StringRef getAuthor () const {