dget: Use explicit storage classes in delegate

Those become required when using the latest compiler with DIP1000.
This commit is contained in:
Geod24 2022-10-26 14:01:20 +02:00
parent 70e81c1c79
commit 9ce2e7515e

2
dget.d
View file

@ -110,7 +110,7 @@ ubyte[] download(string url)
auto http = HTTP(url);
http.method = HTTP.Method.get;
http.onReceiveHeader((k, v)
http.onReceiveHeader((in k, in v)
{
if (k == "content-length")
contentLength = to!size_t(v);