aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--mod/mod-builds.cxx4
-rw-r--r--tests/load/driver.cxx2
2 files changed, 3 insertions, 3 deletions
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),
diff --git a/tests/load/driver.cxx b/tests/load/driver.cxx
index 2520f18..af21616 100644
--- a/tests/load/driver.cxx
+++ b/tests/load/driver.cxx
@@ -213,7 +213,7 @@ dep (const char* n, optional<version_constraint> c)
static inline version
dep_ver (const char* v)
{
- return version (v, false /* fold_zero_revision */);
+ return version (v, version::none);
}
static void