aboutsummaryrefslogtreecommitdiff
path: root/bpkg/pkg-status.cxx
diff options
context:
space:
mode:
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;