From 191f303ce2ee5de042a48801273cbc57a6dd0a52 Mon Sep 17 00:00:00 2001 From: Karen Arutyunov Date: Tue, 12 Oct 2021 21:52:01 +0300 Subject: Adapt to bpkg::version API change --- bpkg/manifest-utility.cxx | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'bpkg/manifest-utility.cxx') diff --git a/bpkg/manifest-utility.cxx b/bpkg/manifest-utility.cxx index bad4659..fc54eba 100644 --- a/bpkg/manifest-utility.cxx +++ b/bpkg/manifest-utility.cxx @@ -89,7 +89,7 @@ namespace bpkg version parse_package_version (const char* s, bool allow_wildcard, - bool fold_zero_revision) + version::flags fl) { using traits = string::traits_type; @@ -103,7 +103,7 @@ namespace bpkg try { - return extract_package_version (s, fold_zero_revision); + return extract_package_version (s, fl); } catch (const invalid_argument& e) { @@ -118,7 +118,7 @@ namespace bpkg optional parse_package_version_constraint (const char* s, bool allow_wildcard, - bool fold_zero_revision, + version::flags fl, bool version_only) { // Calculate the version specification position as a length of the prefix @@ -139,7 +139,7 @@ namespace bpkg try { return version_constraint ( - parse_package_version (s, allow_wildcard, fold_zero_revision)); + parse_package_version (s, allow_wildcard, fl)); } catch (const invalid_argument& e) { -- cgit v1.1