aboutsummaryrefslogtreecommitdiff
path: root/libbuild2/in/rule.hxx
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.hxx
parent2908afbd6a9222b718c0f910edfbe2fc5943aad8 (diff)
Fix bug in in::rule
Diffstat (limited to 'libbuild2/in/rule.hxx')
-rw-r--r--libbuild2/in/rule.hxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/libbuild2/in/rule.hxx b/libbuild2/in/rule.hxx
index ff7a2f3..1294586 100644
--- a/libbuild2/in/rule.hxx
+++ b/libbuild2/in/rule.hxx
@@ -96,7 +96,7 @@ namespace build2
optional<string>
substitute (const location&,
action, const target&,
- depdb& dd, size_t dd_skip,
+ depdb& dd, size_t& dd_skip,
const string& name,
optional<uint64_t> flags,
bool strict,
@@ -108,7 +108,7 @@ namespace build2
virtual void
process (const location&,
action, const target&,
- depdb& dd, size_t dd_skip,
+ depdb& dd, size_t& dd_skip,
string& line, size_t pos,
const char* newline,
char sym,