aboutsummaryrefslogtreecommitdiff
path: root/brep/package.cxx
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2015-06-27 23:57:16 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2015-06-27 23:57:16 +0200
commit1963538d18459e1e9f09808912cb0aae9ace1f3c (patch)
treec1b98011494ac6559eade509195118bdf53344df /brep/package.cxx
parentb5b996507c6287b5216a7c628adfdf23ec7dc4a2 (diff)
Use bpkg structs in package
Diffstat (limited to 'brep/package.cxx')
-rw-r--r--brep/package.cxx3
1 files changed, 2 insertions, 1 deletions
diff --git a/brep/package.cxx b/brep/package.cxx
index 9331f55..11cd974 100644
--- a/brep/package.cxx
+++ b/brep/package.cxx
@@ -15,7 +15,8 @@ namespace brep
void package_version::
id (const package_version_id& v, odb::database& db)
{
- version = v.version;
+ version.epoch = v.epoch;
+ version.canonical = v.canonical;
package = db.load<package_type> (v.package);
}
}