You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-07 12:30:27 +00:00
Replace std::size usage with std_size to avoid <iterator> include.
This commit is contained in:
@@ -97,7 +97,7 @@ String ShaderWarning::get_name_from_code(Code p_code) {
|
||||
PNAME("MAGIC_POSITION_WRITE"),
|
||||
};
|
||||
|
||||
static_assert(std::size(names) == WARNING_MAX, "Amount of warning types don't match the amount of warning names.");
|
||||
static_assert(std_size(names) == WARNING_MAX, "Amount of warning types don't match the amount of warning names.");
|
||||
|
||||
return names[(int)p_code];
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user