Skip to content

Modernize ARRAYLEN#1414

Merged
poco0317 merged 1 commit intoetternagame:developfrom
Sploder12:developReplaceARRAYLEN
Jan 31, 2026
Merged

Modernize ARRAYLEN#1414
poco0317 merged 1 commit intoetternagame:developfrom
Sploder12:developReplaceARRAYLEN

Conversation

@Sploder12
Copy link

Replaces the c-style sizeof(a) / sizeof(a[0]) with std::size(a) [C++17]. The benefit of this is that pointers fail to compile and standard types (ex. std::vector) will behave more correctly. This does not fix any bugs that I am aware of.

@poco0317 poco0317 merged commit da91291 into etternagame:develop Jan 31, 2026
7 of 12 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants