aboutsummaryrefslogtreecommitdiff
path: root/loader
diff options
context:
space:
mode:
Diffstat (limited to 'loader')
-rw-r--r--loader/loader.cxx5
1 files changed, 4 insertions, 1 deletions
diff --git a/loader/loader.cxx b/loader/loader.cxx
index 503f577..e666804 100644
--- a/loader/loader.cxx
+++ b/loader/loader.cxx
@@ -416,6 +416,7 @@ load_repository (const shared_ptr<repository>& rp, database& db)
//
dependencies dep;
requirements req;
+ brep::optional<path> loc; // Ambiguity with butl::optional.
string chn;
// Don't add dependencies, requirements and changes for external
@@ -425,6 +426,7 @@ load_repository (const shared_ptr<repository>& rp, database& db)
{
dep = move (pm.dependencies);
req = move (pm.requirements);
+ loc = move (pm.location);
for (auto& c: pm.changes)
{
@@ -450,7 +452,8 @@ load_repository (const shared_ptr<repository>& rp, database& db)
move (pm.license_alternatives),
move (chn),
move (dep),
- move (req));
+ move (req),
+ move (loc));
db.persist (pv);
}