You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-19 14:31:59 +00:00
Rename empty() to is_empty()
This commit is contained in:
@@ -65,7 +65,7 @@ int UPNPDevice::add_port_mapping(int port, int port_internal, String desc, Strin
|
||||
itos(port).utf8().get_data(),
|
||||
itos(port_internal).utf8().get_data(),
|
||||
igd_our_addr.utf8().get_data(),
|
||||
desc.empty() ? nullptr : desc.utf8().get_data(),
|
||||
desc.is_empty() ? nullptr : desc.utf8().get_data(),
|
||||
proto.utf8().get_data(),
|
||||
nullptr, // Remote host, always nullptr as IGDs don't support it
|
||||
duration > 0 ? itos(duration).utf8().get_data() : nullptr);
|
||||
|
||||
Reference in New Issue
Block a user