mirror of
https://github.com/OpenTTD/OpenTTD
synced 2026-01-16 08:52:40 +01:00
Codechange: replace some more char*s with std::string_view
This commit is contained in:
@@ -904,7 +904,7 @@ void *UniquePtrSpriteAllocator::AllocatePtr(size_t size)
|
||||
*/
|
||||
static void *HandleInvalidSpriteRequest(SpriteID sprite, SpriteType requested, SpriteCache *sc, SpriteAllocator *allocator)
|
||||
{
|
||||
static const char * const sprite_types[] = {
|
||||
static const std::string_view sprite_types[] = {
|
||||
"normal", // SpriteType::Normal
|
||||
"map generator", // SpriteType::MapGen
|
||||
"character", // SpriteType::Font
|
||||
|
||||
Reference in New Issue
Block a user