From 5af5a6c6aa4c2b31e63d64a43ab647bd6def3808 Mon Sep 17 00:00:00 2001 From: Karen Arutyunov Date: Sat, 8 Jul 2023 12:05:09 +0300 Subject: Optimize build-task handler by using object loading view --- monitor/monitor.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'monitor') 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 p (db.load (bp.id)); + shared_ptr& p (bp.package); db.load (*p, p->constraints_section); -- cgit v1.1