dxx-rebirth/similar
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
..
2d Fix MacOS clang build of similar/2d/font.cpp 2022-10-02 19:51:36 +00:00
3d Pass std::span to g3_validate_polygon_model 2022-09-24 17:47:52 +00:00
arch Simplify ogl_ubitblt_i GL array initialization 2022-10-02 19:51:35 +00:00
editor Use enum class for clipping_code 2022-10-02 19:51:35 +00:00
main Reduce use of quotes for passing vers_id defines 2022-10-02 19:51:36 +00:00
misc Use std::span for PHYSFSX_fgets 2022-10-02 19:51:35 +00:00