aboutsummaryrefslogtreecommitdiff
path: root/bpkg/package.cxx
diff options
context:
space:
mode:
authorKaren Arutyunov <karen@codesynthesis.com>2022-05-30 14:30:39 +0300
committerKaren Arutyunov <karen@codesynthesis.com>2022-06-07 21:15:37 +0300
commitf6760187b7eccb9875932bfefed8c1c3d62c05e0 (patch)
treeac12538cd8ccad3ec9174daaa0d99e17ee64a06c /bpkg/package.cxx
parent6fbcb81432b8a41d90766cdfa9838f6b37fbb747 (diff)
Rename package_config structure to package_key
Diffstat (limited to 'bpkg/package.cxx')
-rw-r--r--bpkg/package.cxx8
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);