mirror of
https://github.com/godotengine/godot.git
synced 2025-10-25 18:54:43 +00:00
Rename empty() to is_empty()
This commit is contained in:
parent
886571e0fc
commit
5b937d493f
289 changed files with 898 additions and 898 deletions
|
|
@ -687,7 +687,7 @@ struct Diagnostic {
|
|||
dict["severity"] = severity;
|
||||
dict["message"] = message;
|
||||
dict["source"] = source;
|
||||
if (!relatedInformation.empty()) {
|
||||
if (!relatedInformation.is_empty()) {
|
||||
Array arr;
|
||||
arr.resize(relatedInformation.size());
|
||||
for (int i = 0; i < relatedInformation.size(); i++) {
|
||||
|
|
@ -1191,7 +1191,7 @@ struct DocumentSymbol {
|
|||
|
||||
void symbol_tree_as_list(const String &p_uri, Vector<DocumentedSymbolInformation> &r_list, const String &p_container = "", bool p_join_name = false) const {
|
||||
DocumentedSymbolInformation si;
|
||||
if (p_join_name && !p_container.empty()) {
|
||||
if (p_join_name && !p_container.is_empty()) {
|
||||
si.name = p_container + ">" + name;
|
||||
} else {
|
||||
si.name = name;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue