Skip to content

Commit

Permalink
dget: Use explicit storage classes in delegate
Browse files Browse the repository at this point in the history
Those become required when using the latest compiler with DIP1000.
  • Loading branch information
Geod24 committed Oct 26, 2022
1 parent 70e81c1 commit 9ce2e75
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion dget.d
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 9ce2e75

Please sign in to comment.