aboutsummaryrefslogtreecommitdiff
path: root/bpkg/system-package-manager.hxx
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2023-02-10 08:13:52 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2023-02-21 04:46:55 +0200
commit8ea35ee2db5330955a048d11690850f97987f4f7 (patch)
treea7178102a0f74f8bb0776a99ba6df752c62dce25 /bpkg/system-package-manager.hxx
parentb453087907850073244e5ce1f1ea52728402734d (diff)
WIP
Diffstat (limited to 'bpkg/system-package-manager.hxx')
-rw-r--r--bpkg/system-package-manager.hxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/bpkg/system-package-manager.hxx b/bpkg/system-package-manager.hxx
index 7e4f89c..305a00e 100644
--- a/bpkg/system-package-manager.hxx
+++ b/bpkg/system-package-manager.hxx
@@ -280,15 +280,15 @@ namespace bpkg
// <distribution>-version values corresponding to name_id. If none match,
// then repeat the above process for every like_ids entry with version_id
// equal 0. If still no match, then return nullopt (in which case the
- // caller may choose to fallback to the upstream package version or do
- // something more elaborate).
+ // caller may choose to fallback to the upstream/bpkg package version or
+ // do something more elaborate).
//
// Note that lazy_shared_ptr<repository_fragment> is used only for
// diagnostics and conveys the database the available package object
// belongs to.
//
static optional<string>
- system_package_version (const available_package&,
+ system_package_version (const shared_ptr<available_package>&,
const lazy_shared_ptr<repository_fragment>&,
const string& name_id,
const string& version_id,