diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2015-09-29 11:29:50 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2015-09-29 11:29:50 +0200 |
commit | f5adc6c0ee7965abcad4cc73d0f36d1ed3cba3cc (patch) | |
tree | 209d8b593efc5cf525ae96f6bf69b356cdba9766 /bpkg/package.ixx | |
parent | bbc1acd6e9e086c5bcfccac971c8ca4edd192765 (diff) |
Complete pkg-status, rework object model
Diffstat (limited to 'bpkg/package.ixx')
-rw-r--r-- | bpkg/package.ixx | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/bpkg/package.ixx b/bpkg/package.ixx index 79cb0b1..571f866 100644 --- a/bpkg/package.ixx +++ b/bpkg/package.ixx @@ -4,14 +4,12 @@ namespace bpkg { - // package_version_id + // available_package_id // - inline package_version_id:: - package_version_id (string n, const version& v) + inline available_package_id:: + available_package_id (string n, const bpkg::version& v) : name (move (n)), - epoch (v.epoch ()), - upstream (v.canonical_upstream ()), - revision (v.revision ()) + version {v.epoch (), v.canonical_upstream (), v.revision ()} { } } |