You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-09 12:50:35 +00:00
Rename empty() to is_empty()
This commit is contained in:
@@ -189,7 +189,7 @@ void IP::erase_resolve_item(ResolverID p_id) {
|
||||
void IP::clear_cache(const String &p_hostname) {
|
||||
MutexLock lock(resolver->mutex);
|
||||
|
||||
if (p_hostname.empty()) {
|
||||
if (p_hostname.is_empty()) {
|
||||
resolver->cache.clear();
|
||||
} else {
|
||||
resolver->cache.erase(_IP_ResolverPrivate::get_cache_key(p_hostname, IP::TYPE_NONE));
|
||||
|
||||
Reference in New Issue
Block a user