aboutsummaryrefslogtreecommitdiff
path: root/bpkg/package.hxx
diff options
context:
space:
mode:
authorKaren Arutyunov <karen@codesynthesis.com>2021-09-23 20:51:45 +0300
committerKaren Arutyunov <karen@codesynthesis.com>2021-09-24 11:27:09 +0300
commitfa002aac4c3cb75722d973d199a73231062b890c (patch)
treeb09d44844bae7528d63689dfaf7e46d4b668733c /bpkg/package.hxx
parent3f86fb3b73731f680bcffda83e4dddb6914eb13a (diff)
Make database ordering consistent across runs
Diffstat (limited to 'bpkg/package.hxx')
-rw-r--r--bpkg/package.hxx8
1 files changed, 1 insertions, 7 deletions
diff --git a/bpkg/package.hxx b/bpkg/package.hxx
index 13efcd4..9a42f62 100644
--- a/bpkg/package.hxx
+++ b/bpkg/package.hxx
@@ -1370,13 +1370,7 @@ namespace bpkg
}
bool
- operator< (const config_package& v) const
- {
- // See operator==(database, database).
- //
- int r (name.compare (v.name));
- return r != 0 ? (r < 0) : (&db < &v.db);
- }
+ operator< (const config_package&) const;
std::string
string () const;