Make PackageManager.load non-const
It was made const to satisfy PackageManager.addPackages, but that
method actually takes a field of the PackageManager as ref parameter,
so it can never be called from a 'const' context, and while implementing
'TestPackageManager.load', it was found that 'const' wasn't suitable.
1 parent 44852b8 commit 0a9c30b480515ae3afcb910a3577c0586a94c8bb
@Mathias Lang Mathias Lang authored on 4 Jan 2024
Mathias LANG committed on 4 Jan 2024
Showing 2 changed files
View
source/dub/packagemanager.d
View
source/dub/test/base.d