Closed KanjiMonster closed 3 months ago
This confused me quite a while why these two routes got different hashes while all values were identical, until I noticed that the prio was part of the hash, but not printed.
merged as dcb9e2ef8c625aaa029915cd41705d0713f53332. Thank you!!
Route priority is part of the hash key calculation, but the debug print omitted it. This could cause seemingly identical values have different hash values.
Fix this by also printing the route priority, and reformat according to .clang-format.
Before:
After:
I took the liberty of unbreaking the string, since breaking it can make it harder to grep for and the .clang-format says to not break strings. Even though this one is largely ungreppable with every second word being a format specifier.