From 6a41864fdb57c75be3db87b357063b0c828dbc18 Mon Sep 17 00:00:00 2001 From: Karen Arutyunov Date: Wed, 11 Jul 2018 15:51:59 +0300 Subject: Add support for package project manifest value --- load/load.cxx | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'load') diff --git a/load/load.cxx b/load/load.cxx index ca7c6c7..1875f2a 100644 --- a/load/load.cxx +++ b/load/load.cxx @@ -402,9 +402,14 @@ load_packages (const shared_ptr& rp, database& db) move (pd.constraint)}); } + // Cache before the package name is moved. + // + package_name project (pm.effective_project ()); + p = make_shared ( move (pm.name), move (pm.version), + move (project), pm.priority ? move (*pm.priority) : priority (), move (pm.summary), move (pm.license_alternatives), -- cgit v1.1