mirror of
https://github.com/godotengine/godot.git
synced 2026-01-06 10:11:57 +03:00
Replace std::size usage with std_size to avoid <iterator> include.
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user