aboutsummaryrefslogtreecommitdiff
path: root/libbuild2/adhoc-rule-buildscript.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'libbuild2/adhoc-rule-buildscript.cxx')
-rw-r--r--libbuild2/adhoc-rule-buildscript.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/libbuild2/adhoc-rule-buildscript.cxx b/libbuild2/adhoc-rule-buildscript.cxx
index 3f3d59e..14df51a 100644
--- a/libbuild2/adhoc-rule-buildscript.cxx
+++ b/libbuild2/adhoc-rule-buildscript.cxx
@@ -911,7 +911,7 @@ namespace build2
// Note that we don't really need a diag frame that prints the
// line being parsed since we are always parsing the file.
//
- pair<make_type, string> r (
+ pair<make_type, path> r (
make.next (l, pos, il, false /* strict */));
if (r.second.empty ())
@@ -922,7 +922,7 @@ namespace build2
if (r.first == make_type::target)
continue;
- path f (move (r.second));
+ path& f (r.second);
if (f.relative ())
{