diff options
author | Karen Arutyunov <karen@codesynthesis.com> | 2022-05-30 14:30:39 +0300 |
---|---|---|
committer | Karen Arutyunov <karen@codesynthesis.com> | 2022-05-30 14:30:39 +0300 |
commit | 9ad2166f1d268f9bf176a1b9bfeaee9003b0c0c5 (patch) | |
tree | 4ab752d03a0bc3bb265746162244fb1fdf146232 /bpkg/package.cxx | |
parent | 02d4afde7c0d255d8f51490f08407b48845b5de6 (diff) |
Rename package_config structure to package_key
Diffstat (limited to 'bpkg/package.cxx')
-rw-r--r-- | bpkg/package.cxx | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/bpkg/package.cxx b/bpkg/package.cxx index 06c1853..c02bdf4 100644 --- a/bpkg/package.cxx +++ b/bpkg/package.cxx @@ -53,17 +53,17 @@ namespace bpkg return path; } - // config_package + // package_key // - string config_package:: + string package_key:: string () const { const std::string& s (db.get ().string); return !s.empty () ? name.string () + ' ' + s : name.string (); } - bool config_package:: - operator< (const config_package& v) const + bool package_key:: + operator< (const package_key& v) const { int r (name.compare (v.name)); return r != 0 ? (r < 0) : (db < v.db); |