diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2015-09-10 14:19:52 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2015-09-11 13:25:52 +0200 |
commit | aae6d7557950c19d22b7d09fae26f3d20db75a22 (patch) | |
tree | 3ef10cd2b05eef0b2f2d387a1838cd6aa835ad68 /loader/loader.cxx | |
parent | a90ce0f4ff27c6994fe3e7827baaebf4e510cffb (diff) |
Location member added to brep::package_version class
Diffstat (limited to 'loader/loader.cxx')
-rw-r--r-- | loader/loader.cxx | 5 |
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); } |