aboutsummaryrefslogtreecommitdiff
path: root/bpkg/package.cxx
diff options
context:
space:
mode:
authorKaren Arutyunov <karen@codesynthesis.com>2023-12-19 21:32:52 +0300
committerKaren Arutyunov <karen@codesynthesis.com>2024-01-09 20:26:18 +0300
commit8365a8f55e05628109db9cf6c3321932aa0b0f16 (patch)
tree2bc36961e6ee68a72f95fcd093b3a41fa035c293 /bpkg/package.cxx
parentacdbb63a27ae409204648967559e0e4069ebed4d (diff)
Try to automatically resolve unsatisfied dependency constraints by specifying dependent version
Diffstat (limited to 'bpkg/package.cxx')
-rw-r--r--bpkg/package.cxx3
1 files changed, 3 insertions, 0 deletions
diff --git a/bpkg/package.cxx b/bpkg/package.cxx
index 4beba8e..05dbc0d 100644
--- a/bpkg/package.cxx
+++ b/bpkg/package.cxx
@@ -97,6 +97,9 @@ namespace bpkg
bool package_version_key::
operator< (const package_version_key& v) const
{
+ // NOTE: remember to update cmdline_adjustments::tried_earlier() if
+ // changing anything here.
+ //
if (int r = name.compare (v.name))
return r < 0;