From 4aaa694c2438ff200c246e11b5b724d4cdfe2533 Mon Sep 17 00:00:00 2001 From: Mathias Lang Date: Sun, 14 Jan 2024 14:58:30 +0100 Subject: [PATCH] Trivial: Make PackageManager.addPackages protected So that it can be reused in the TestPackageManager. --- source/dub/packagemanager.d | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/dub/packagemanager.d b/source/dub/packagemanager.d index 74b8542ef..440810337 100644 --- a/source/dub/packagemanager.d +++ b/source/dub/packagemanager.d @@ -1020,7 +1020,7 @@ symlink_exit: } /// Adds the package and scans for sub-packages. - private void addPackages(ref Package[] dst_repos, Package pack) + protected void addPackages(ref Package[] dst_repos, Package pack) { // Add the main package. dst_repos ~= pack;