aboutsummaryrefslogtreecommitdiff
path: root/loader
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2015-09-10 14:19:52 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2015-09-11 13:25:52 +0200
commitaae6d7557950c19d22b7d09fae26f3d20db75a22 (patch)
tree3ef10cd2b05eef0b2f2d387a1838cd6aa835ad68 /loader
parenta90ce0f4ff27c6994fe3e7827baaebf4e510cffb (diff)
Location member added to brep::package_version class
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);
}