fc4157f56f
clang-14 on OSX, but not clang-14 on x86_64-pc-linux-gnu, fails class template argument deduction when given: ``` char *c1 = initializer(); const char *c2 = c1 + 1; std::span{c1, c2}; ``` clang correctly refuses to match this to `std::span(pointer, pointer)`, but fails to find the constructor `std::span(iterator, sentinel)`. Work around this by changing the type of the sentinel from `const uint8_t *` to `color_palette_index *` (an alias of `uint8_t *`). Reported-by: Kreeblah <https://github.com/dxx-rebirth/dxx-rebirth/issues/664> |
||
---|---|---|
.. | ||
font.cpp | ||
palette.cpp | ||
pcx.cpp |