aboutsummaryrefslogtreecommitdiff
path: root/libbuild2/in/rule.cxx
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2021-11-29 13:38:28 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2021-11-29 13:38:28 +0200
commitc06a49cb25b5a1088f645232e87629fa7830f028 (patch)
treed2dab370dd0220437479f4e8bded38f636b4871c /libbuild2/in/rule.cxx
parent2908afbd6a9222b718c0f910edfbe2fc5943aad8 (diff)
Fix bug in in::rule
Diffstat (limited to 'libbuild2/in/rule.cxx')
-rw-r--r--libbuild2/in/rule.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/libbuild2/in/rule.cxx b/libbuild2/in/rule.cxx
index 941f44d..faf1ec1 100644
--- a/libbuild2/in/rule.cxx
+++ b/libbuild2/in/rule.cxx
@@ -418,7 +418,7 @@ namespace build2
void rule::
process (const location& l,
action a, const target& t,
- depdb& dd, size_t dd_skip,
+ depdb& dd, size_t& dd_skip,
string& s, size_t b,
const char* nl,
char sym,
@@ -496,7 +496,7 @@ namespace build2
optional<string> rule::
substitute (const location& l,
action a, const target& t,
- depdb& dd, size_t dd_skip,
+ depdb& dd, size_t& dd_skip,
const string& n,
optional<uint64_t> flags,
bool strict,