aboutsummaryrefslogtreecommitdiff
path: root/libbuild2/in
diff options
context:
space:
mode:
authorKaren Arutyunov <karen@codesynthesis.com>2019-11-15 13:27:23 +0300
committerKaren Arutyunov <karen@codesynthesis.com>2019-11-15 21:18:42 +0300
commit460eb164f0051cf0ffab6860220649c4f03c74fb (patch)
tree517455df26047c70429679c7bed790098cb39c4e /libbuild2/in
parent678345c5a96f14d05a56bce8a68bdd45dfe1d172 (diff)
Use path_name_view in location and path_name_value in location_value
Diffstat (limited to 'libbuild2/in')
-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.