aboutsummaryrefslogtreecommitdiff
path: root/libbuild2/version
diff options
context:
space:
mode:
Diffstat (limited to 'libbuild2/version')
-rw-r--r--libbuild2/version/rule.cxx4
-rw-r--r--libbuild2/version/rule.hxx1
2 files changed, 5 insertions, 0 deletions
diff --git a/libbuild2/version/rule.cxx b/libbuild2/version/rule.cxx
index 919dfcf..4da4e3f 100644
--- a/libbuild2/version/rule.cxx
+++ b/libbuild2/version/rule.cxx
@@ -89,8 +89,11 @@ namespace build2
action a,
const target& t,
const string& n,
+ optional<uint64_t> flags,
const optional<string>& null) const
{
+ assert (!flags);
+
// Note that this code will be executed during up-to-date check for each
// substitution so let's try not to do anything overly sub-optimal here.
//
@@ -110,6 +113,7 @@ namespace build2
a,
t,
p == string::npos ? n : string (n, p + 1),
+ nullopt,
null);
}
diff --git a/libbuild2/version/rule.hxx b/libbuild2/version/rule.hxx
index ddc5e11..c174f40 100644
--- a/libbuild2/version/rule.hxx
+++ b/libbuild2/version/rule.hxx
@@ -30,6 +30,7 @@ namespace build2
action,
const target&,
const string&,
+ optional<uint64_t>,
const optional<string>&) const override;
};