diff options
Diffstat (limited to 'bpkg/package.cxx')
-rw-r--r-- | bpkg/package.cxx | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/bpkg/package.cxx b/bpkg/package.cxx index 894051a..9a8068c 100644 --- a/bpkg/package.cxx +++ b/bpkg/package.cxx @@ -60,6 +60,13 @@ namespace bpkg return !s.empty () ? name.string () + ' ' + s : name.string (); } + bool config_package:: + operator< (const config_package& v) const + { + int r (name.compare (v.name)); + return r != 0 ? (r < 0) : (db < v.db); + } + // available_package // const version* available_package:: |