aboutsummaryrefslogtreecommitdiff
path: root/monitor/monitor.cxx
diff options
context:
space:
mode:
authorKaren Arutyunov <karen@codesynthesis.com>2023-07-08 12:05:09 +0300
committerKaren Arutyunov <karen@codesynthesis.com>2023-07-13 16:43:12 +0300
commit5af5a6c6aa4c2b31e63d64a43ab647bd6def3808 (patch)
treef0c04dad8662dadd1fd2120d475fbbb8e88aedb9 /monitor/monitor.cxx
parent0a8932b1eda3b4152a542dec94b4338a2f5f9691 (diff)
Optimize build-task handler by using object loading view
Diffstat (limited to 'monitor/monitor.cxx')
-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);