aboutsummaryrefslogtreecommitdiff
path: root/bpkg/package.cxx
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2015-09-22 13:41:54 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2015-09-22 13:41:54 +0200
commit738050f2a71b2f0d094a692cc48c94653b82287f (patch)
tree874b79e5017be0aefde4f9427ecf6fc95cbe36be /bpkg/package.cxx
parent221f0250fcd7cba4fa4b5e4fd6c0d410eb6e5811 (diff)
Implement rep-fetch command
Diffstat (limited to 'bpkg/package.cxx')
-rw-r--r--bpkg/package.cxx10
1 files changed, 1 insertions, 9 deletions
diff --git a/bpkg/package.cxx b/bpkg/package.cxx
index 9528288..e955a3f 100644
--- a/bpkg/package.cxx
+++ b/bpkg/package.cxx
@@ -52,15 +52,7 @@ namespace bpkg
available_package::_id_type available_package::
_id () const
{
- return _id_type {
- {
- name,
- version.epoch (),
- version.canonical_upstream (),
- version.revision ()
- },
- version.upstream ()
- };
+ return _id_type {package_version_id (name, version), version.upstream ()};
}
void available_package::