diff options
author | Karen Arutyunov <karen@codesynthesis.com> | 2023-07-08 12:05:09 +0300 |
---|---|---|
committer | Karen Arutyunov <karen@codesynthesis.com> | 2023-07-13 16:43:12 +0300 |
commit | 5af5a6c6aa4c2b31e63d64a43ab647bd6def3808 (patch) | |
tree | f0c04dad8662dadd1fd2120d475fbbb8e88aedb9 /monitor | |
parent | 0a8932b1eda3b4152a542dec94b4338a2f5f9691 (diff) |
Optimize build-task handler by using object loading view
Diffstat (limited to 'monitor')
-rw-r--r-- | monitor/monitor.cxx | 2 |
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); |