1bcc5c40d0
In C++ 20 mode, clang-13 gets confused about how to handle operator==. Rewrite the test to encourage it to pick the correct version. ``` common/include/gr.h:129:12: error: use of overloaded operator '==' is ambiguous (with operand types 'dcx::grs_main_bitmap *' and 'exact_type<dcx::grs_bitmap>') if (this == &r) ~~~~ ^ ~~ common/include/pack.h:31:17: note: candidate function (with reversed parameter order) constexpr bool operator==(const T *rhs) const { return p == rhs; } ^ common/include/gr.h:129:12: note: built-in candidate operator==(struct dcx::grs_bitmap *, struct dcx::grs_bitmap *) if (this == &r) ``` |
||
---|---|---|
.. | ||
2d | ||
3d | ||
arch | ||
editor | ||
include | ||
main | ||
maths | ||
mem | ||
misc | ||
music | ||
texmap | ||
ui | ||
unittest |