aboutsummaryrefslogtreecommitdiff
path: root/monitor
diff options
context:
space:
mode:
Diffstat (limited to 'monitor')
-rw-r--r--monitor/monitor.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/monitor/monitor.cxx b/monitor/monitor.cxx
index eba6e2b..05ebf9d 100644
--- a/monitor/monitor.cxx
+++ b/monitor/monitor.cxx
@@ -821,7 +821,7 @@ namespace brep
for (auto& bp: bps)
{
- shared_ptr<build_package> p (db.load<build_package> (bp.id));
+ shared_ptr<build_package>& p (bp.package);
db.load (*p, p->constraints_section);