You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-04 12:00:25 +00:00
Rename empty() to is_empty()
This commit is contained in:
@@ -163,7 +163,7 @@ Error RDShaderFile::parse_versions_from_text(const String &p_text, const String
|
||||
ERR_FAIL_V_MSG(ERR_PARSE_ERROR, "When writing compute shaders, [compute] mustbe the only stage present.");
|
||||
}
|
||||
|
||||
if (version_texts.empty()) {
|
||||
if (version_texts.is_empty()) {
|
||||
version_texts[""] = ""; //make sure a default version exists
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user