aboutsummaryrefslogtreecommitdiff
path: root/bpkg/pkg-status.cxx
diff options
context:
space:
mode:
authorKaren Arutyunov <karen@codesynthesis.com>2022-05-16 21:31:16 +0300
committerKaren Arutyunov <karen@codesynthesis.com>2022-06-07 21:14:14 +0300
commit6c65d006e9951e3cedf9b05341697842fcadafd1 (patch)
tree18998cab10070116539a703c225cfa9fe3e81062 /bpkg/pkg-status.cxx
parent7f01e41ff654d155cd2aa1c4aada5874fa642e94 (diff)
Add dependency alternatives positions to selected package prerequisites
Diffstat (limited to 'bpkg/pkg-status.cxx')
-rw-r--r--bpkg/pkg-status.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/bpkg/pkg-status.cxx b/bpkg/pkg-status.cxx
index 45ea519..09a9424 100644
--- a/bpkg/pkg-status.cxx
+++ b/bpkg/pkg-status.cxx
@@ -144,7 +144,7 @@ namespace bpkg
{
shared_ptr<selected_package> d (pair.first.load ());
database& db (pair.first.database ());
- const optional<version_constraint>& c (pair.second);
+ const optional<version_constraint>& c (pair.second.constraint);
r.push_back (package {db, rdb, d->name, version (), move (d), c});
}
return r;