mirror of
https://git.eden-emu.dev/eden-emu/eden.git
synced 2025-07-21 14:35:46 +00:00
common_funcs: Remove ARRAY_SIZE macro
C++17 has non-member size() which we can just call where necessary.
This commit is contained in:
parent
fd50308f39
commit
c9f5ae4fcc
3 changed files with 4 additions and 5 deletions
|
@ -9,8 +9,6 @@
|
|||
#endif
|
||||
#include "common/common_types.h"
|
||||
|
||||
#define ARRAY_SIZE(a) (sizeof(a) / sizeof(a[0]))
|
||||
|
||||
/// Textually concatenates two tokens. The double-expansion is required by the C preprocessor.
|
||||
#define CONCAT2(x, y) DO_CONCAT2(x, y)
|
||||
#define DO_CONCAT2(x, y) x##y
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue