UI: IniUser: Simplify HotKey::listCount()

This commit is contained in:
Nodir Temirkhodjaev 2024-04-06 14:40:29 +03:00
parent 33e8821a5f
commit 2fd8d4b1ea

View File

@ -23,7 +23,7 @@ const char *const list[] = {
appGroupModifier,
quit,
};
const int listCount = sizeof(list) / sizeof(list[0]);
const int listCount = int(std::size(list));
const char *const defaultValue(const char *key)
{