aboutsummaryrefslogtreecommitdiff
path: root/bpkg/package.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'bpkg/package.cxx')
-rw-r--r--bpkg/package.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/bpkg/package.cxx b/bpkg/package.cxx
index dea16f2..66e9ba1 100644
--- a/bpkg/package.cxx
+++ b/bpkg/package.cxx
@@ -88,7 +88,7 @@ namespace bpkg
return i.fragment == lrf;
};
- for (const lazy_shared_ptr<repository>& r: cs)
+ for (const lazy_weak_ptr<repository>& r: cs)
{
const auto& frs (r.load ()->fragments);
@@ -110,7 +110,7 @@ namespace bpkg
// Finally, load the complements and prerequisites and check them
// recursively.
//
- for (const lazy_shared_ptr<repository>& cr: cs)
+ for (const lazy_weak_ptr<repository>& cr: cs)
{
for (const auto& fr: cr.load ()->fragments)
{