diff --git a/source/dub/packagemanager.d b/source/dub/packagemanager.d index 9e8ef4a..a33a588 100644 --- a/source/dub/packagemanager.d +++ b/source/dub/packagemanager.d @@ -364,7 +364,7 @@ */ protected Package load(NativePath path, NativePath recipe = NativePath.init, Package parent = null, string version_ = null, - StrictMode mode = StrictMode.Ignore) const + StrictMode mode = StrictMode.Ignore) { if (recipe.empty) recipe = Package.findPackageFile(path); @@ -1023,7 +1023,7 @@ /// Adds the package and scans for sub-packages. private void addPackages(ref Package[] dst_repos, Package pack) - const { + { // Add the main package. dst_repos ~= pack; diff --git a/source/dub/test/base.d b/source/dub/test/base.d index 695ac16..3c78e4a 100644 --- a/source/dub/test/base.d +++ b/source/dub/test/base.d @@ -291,7 +291,7 @@ */ protected override Package load(NativePath path, NativePath recipe = NativePath.init, Package parent = null, string version_ = null, - StrictMode mode = StrictMode.Ignore) const + StrictMode mode = StrictMode.Ignore) { assert(0, "`TestPackageManager.load` is not implemented"); }