From 46ab16e599d4d0725526b70a0024d33429908e94 Mon Sep 17 00:00:00 2001 From: Karen Arutyunov Date: Tue, 12 Oct 2021 21:57:56 +0300 Subject: Adapt to bpkg::version API change --- mod/mod-builds.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'mod') diff --git a/mod/mod-builds.cxx b/mod/mod-builds.cxx index c5a1f3c..596a5ef 100644 --- a/mod/mod-builds.cxx +++ b/mod/mod-builds.cxx @@ -175,7 +175,7 @@ build_query (const brep::cstrings* configs, { // May throw invalid_argument. // - version v (params.version (), false /* fold_zero_revision */); + version v (params.version (), version::none); q = q && compare_version_eq (pid.version, canonical_version (v), @@ -303,7 +303,7 @@ package_query (const brep::params::builds& params, { // May throw invalid_argument. // - version v (params.version (), false /* fold_zero_revision */); + version v (params.version (), version::none); q = q && compare_version_eq (qp::id.version, canonical_version (v), -- cgit v1.1