C++20 compatibility fix

With the new C++20 rules for comparison operator overloads, operator== calls became ambiguous due to asymmetric const.

Merge request reports

Loading