1
0
mirror of https://github.com/OpenTTD/OpenTTD synced 2026-01-16 00:42:45 +01:00

Codechange: use std::array.fill over memset

This commit is contained in:
Rubidium
2025-05-06 22:25:36 +02:00
committed by rubidium42
parent 228f9ca941
commit 96873dee63
7 changed files with 10 additions and 11 deletions

View File

@@ -45,7 +45,7 @@
ObjectPool _object_pool("Object");
INSTANTIATE_POOL_METHODS(Object)
uint16_t Object::counts[NUM_OBJECTS];
/* static */ std::array<uint16_t, NUM_OBJECTS> Object::counts;
/**
* Get the object associated with a tile.