mirror of
https://github.com/godotengine/godot.git
synced 2025-11-01 06:01:14 +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
|
|
@ -111,7 +111,7 @@ void BackgroundProgress::task_step(const String &p_task, int p_step) {
|
|||
bool no_updates = true;
|
||||
{
|
||||
_THREAD_SAFE_METHOD_
|
||||
no_updates = updates.empty();
|
||||
no_updates = updates.is_empty();
|
||||
}
|
||||
|
||||
if (no_updates) {
|
||||
|
|
@ -218,7 +218,7 @@ void ProgressDialog::end_task(const String &p_task) {
|
|||
memdelete(t.vb);
|
||||
tasks.erase(p_task);
|
||||
|
||||
if (tasks.empty()) {
|
||||
if (tasks.is_empty()) {
|
||||
hide();
|
||||
} else {
|
||||
_popup();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue