diff --git a/source/dub/internal/vibecompat/core/file.d b/source/dub/internal/vibecompat/core/file.d index 7ac4008..0e004dd 100644 --- a/source/dub/internal/vibecompat/core/file.d +++ b/source/dub/internal/vibecompat/core/file.d @@ -12,7 +12,7 @@ import dub.internal.vibecompat.core.log; import std.conv; -import std.c.stdio; +import core.stdc.stdio; import std.datetime; import std.exception; import std.file; diff --git a/source/dub/recipe/json.d b/source/dub/recipe/json.d index bfe010b..1e5e013 100644 --- a/source/dub/recipe/json.d +++ b/source/dub/recipe/json.d @@ -13,8 +13,7 @@ import dub.internal.vibecompat.data.json; -import std.algorithm : canFind; -import std.array : startsWith; +import std.algorithm : canFind, startsWith; import std.conv : to; import std.exception : enforce; import std.range; diff --git a/source/dub/recipe/packagerecipe.d b/source/dub/recipe/packagerecipe.d index 4c6191c..dad1220 100644 --- a/source/dub/recipe/packagerecipe.d +++ b/source/dub/recipe/packagerecipe.d @@ -79,7 +79,7 @@ @property const(Dependency)[string] dependencies() const { - const(Dependency)[string] ret; + Dependency[string] ret; foreach (n, d; this.buildSettings.dependencies) ret[n] = d; foreach (ref c; configurations)