summaryrefslogtreecommitdiff
path: root/scene/main/http_request.cpp
diff options
context:
space:
mode:
authorRĂ©mi Verschelde <remi@verschelde.fr>2021-04-28 11:04:05 +0200
committerGitHub <noreply@github.com>2021-04-28 11:04:05 +0200
commit305b2a15bf1ed950e8e2ed50fa84456b584798fb (patch)
treeabaa1e01ca34382f4ea1d6e24c403ecff1502f39 /scene/main/http_request.cpp
parent7bca90769cbf7ae29023ca8d83ba7ab3137deda3 (diff)
parent8247667a3ee0d86f26094e722497b0cbb99cc12b (diff)
Merge pull request #48239 from akien-mga/goodbye-copymem
Core: Drop custom `copymem`/`zeromem` defines
Diffstat (limited to 'scene/main/http_request.cpp')
-rw-r--r--scene/main/http_request.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/scene/main/http_request.cpp b/scene/main/http_request.cpp
index 64df37654b..08ab71e7fa 100644
--- a/scene/main/http_request.cpp
+++ b/scene/main/http_request.cpp
@@ -123,7 +123,7 @@ Error HTTPRequest::request(const String &p_url, const Vector<String> &p_custom_h
size_t len = charstr.length();
raw_data.resize(len);
uint8_t *w = raw_data.ptrw();
- copymem(w, charstr.ptr(), len);
+ memcpy(w, charstr.ptr(), len);
return request_raw(p_url, p_custom_headers, p_ssl_validate_domain, p_method, raw_data);
}