diff options
author | Karen Arutyunov <karen@codesynthesis.com> | 2023-01-17 11:25:57 +0300 |
---|---|---|
committer | Karen Arutyunov <karen@codesynthesis.com> | 2023-01-17 11:25:57 +0300 |
commit | 80bbbcd5307d7ae8abacbaa99a2b577f5571f00b (patch) | |
tree | c50bd65ae841ac58f4e16863011100e183ec104a /bpkg/system-package-manager.hxx | |
parent | 8e20c1ed163be60cb576b5ad8f5d27b6320154a6 (diff) |
Implement system_package_names()
Diffstat (limited to 'bpkg/system-package-manager.hxx')
-rw-r--r-- | bpkg/system-package-manager.hxx | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/bpkg/system-package-manager.hxx b/bpkg/system-package-manager.hxx index 4f01d1d..131c670 100644 --- a/bpkg/system-package-manager.hxx +++ b/bpkg/system-package-manager.hxx @@ -10,6 +10,7 @@ #include <bpkg/types.hxx> #include <bpkg/utility.hxx> +#include <bpkg/package.hxx> #include <bpkg/host-os-release.hxx> namespace bpkg @@ -71,8 +72,8 @@ namespace bpkg // something more elaborate, like translate version_id to the like_id's // version and try that). // - static vector<string> - system_package_names (/*const available_packages&,*/ + static strings + system_package_names (const available_packages&, const string& name_id, const string& version_id, const string& like_id); |