aboutsummaryrefslogtreecommitdiff
path: root/libbuild2/in/rule.cxx
diff options
context:
space:
mode:
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 de7ad88..593fb6d 100644
--- a/libbuild2/in/rule.cxx
+++ b/libbuild2/in/rule.cxx
@@ -221,7 +221,7 @@ namespace build2
// can be overriden with custom substitution semantics.
//
optional<string> v (
- substitute (location (&ip, ln), a, t, n, strict));
+ substitute (location (ip, ln), a, t, n, strict));
assert (v); // Rule semantics change without version increment?
@@ -302,7 +302,7 @@ namespace build2
// Not tracking column for now (see also depdb above).
//
- const location l (&ip, ln);
+ const location l (ip, ln);
// Scan the line looking for substiutions in the $<name>$ form. In
// the strict mode treat $$ as an escape sequence.