mirror of
https://github.com/godotengine/godot.git
synced 2026-01-06 10:11:57 +03:00
Use std::size instead of sizeof(a) / sizeof(a[0]) pattern throughout the codebase.
This commit is contained in:
@@ -390,7 +390,7 @@ Key KeyMappingMacOS::remap_key(unsigned int p_key, unsigned int p_state, bool p_
|
||||
LMGetKbdType(),
|
||||
kUCKeyTranslateNoDeadKeysBit,
|
||||
&keys_down,
|
||||
sizeof(chars) / sizeof(chars[0]),
|
||||
std::size(chars),
|
||||
&real_length,
|
||||
chars);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user