aboutsummaryrefslogtreecommitdiff
path: root/bpkg/rep-list.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'bpkg/rep-list.cxx')
-rw-r--r--bpkg/rep-list.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/bpkg/rep-list.cxx b/bpkg/rep-list.cxx
index e186665..71a66e4 100644
--- a/bpkg/rep-list.cxx
+++ b/bpkg/rep-list.cxx
@@ -65,7 +65,7 @@ namespace bpkg
if (o.complements ())
{
- for (const lazy_shared_ptr<repository>& rp: fr->complements)
+ for (const lazy_weak_ptr<repository>& rp: fr->complements)
{
// Skip the root complement (see rep_fetch() for details).
//
@@ -114,7 +114,7 @@ namespace bpkg
shared_ptr<repository_fragment> root (db.load<repository_fragment> (""));
- for (const lazy_shared_ptr<repository>& rp: root->complements)
+ for (const lazy_weak_ptr<repository>& rp: root->complements)
{
shared_ptr<repository> r (rp.load ());
cout << r->location.canonical_name () << " " << r->location << endl;