Replace std::size usage with std_size to avoid <iterator> include.

This commit is contained in:
Lukas Tenbrink
2025-10-03 20:02:38 +02:00
parent 6d33ad2917
commit 1db0a60dc0
40 changed files with 69 additions and 66 deletions

View File

@@ -851,7 +851,7 @@ bool OS_Windows::get_user_prefers_integrated_gpu() const {
GetCurrentApplicationUserModelIdPtr GetCurrentApplicationUserModelId = (GetCurrentApplicationUserModelIdPtr)(void *)GetProcAddress(kernel32, "GetCurrentApplicationUserModelId");
if (GetCurrentApplicationUserModelId) {
UINT32 length = std::size(value_name);
UINT32 length = std_size(value_name);
LONG result = GetCurrentApplicationUserModelId(&length, value_name);
if (result == ERROR_SUCCESS) {
is_packaged = true;