mirror of
https://github.com/godotengine/godot.git
synced 2025-10-22 01:13:39 +00:00
Replace NULL with nullptr
This commit is contained in:
parent
5f11e15571
commit
95a1400a2a
755 changed files with 5742 additions and 5742 deletions
|
@ -88,8 +88,8 @@ Error HTTPClient::prepare_request(Method p_method, const String &p_url, const Ve
|
|||
String url = (use_tls ? "https://" : "http://") + host + ":" + itos(port) + p_url;
|
||||
godot_xhr_reset(xhr_id);
|
||||
godot_xhr_open(xhr_id, _methods[p_method], url.utf8().get_data(),
|
||||
username.empty() ? NULL : username.utf8().get_data(),
|
||||
password.empty() ? NULL : password.utf8().get_data());
|
||||
username.empty() ? nullptr : username.utf8().get_data(),
|
||||
password.empty() ? nullptr : password.utf8().get_data());
|
||||
|
||||
for (int i = 0; i < p_headers.size(); i++) {
|
||||
int header_separator = p_headers[i].find(": ");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue