dxx-rebirth/similar/2d
Kp fc4157f56f Fix MacOS clang build of similar/2d/font.cpp
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>
2022-10-02 19:51:36 +00:00
..
font.cpp Fix MacOS clang build of similar/2d/font.cpp 2022-10-02 19:51:36 +00:00
palette.cpp Remove unused copy_diminish_palette 2022-07-02 18:10:45 +00:00
pcx.cpp Pass std::span to pcx_encode_line 2022-09-24 17:47:52 +00:00