From fa002aac4c3cb75722d973d199a73231062b890c Mon Sep 17 00:00:00 2001 From: Karen Arutyunov Date: Thu, 23 Sep 2021 20:51:45 +0300 Subject: Make database ordering consistent across runs --- bpkg/package.hxx | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) (limited to 'bpkg/package.hxx') 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; -- cgit v1.1