You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-06 12:20:30 +00:00
Rename empty() to is_empty()
This commit is contained in:
@@ -295,7 +295,7 @@ List<ClassAPI> generate_c_api_classes() {
|
||||
|
||||
property_api.index = ClassDB::get_property_index(class_name, p->get().name);
|
||||
|
||||
if (!property_api.setter.empty() || !property_api.getter.empty()) {
|
||||
if (!property_api.setter.is_empty() || !property_api.getter.is_empty()) {
|
||||
class_api.properties.push_back(property_api);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user