aboutsummaryrefslogtreecommitdiff
path: root/libbuild2/build/script
diff options
context:
space:
mode:
Diffstat (limited to 'libbuild2/build/script')
-rw-r--r--libbuild2/build/script/parser.cxx6
1 files changed, 2 insertions, 4 deletions
diff --git a/libbuild2/build/script/parser.cxx b/libbuild2/build/script/parser.cxx
index 2210cc8..042eabb 100644
--- a/libbuild2/build/script/parser.cxx
+++ b/libbuild2/build/script/parser.cxx
@@ -1866,7 +1866,7 @@ namespace build2
size_t pos (0);
do
{
- pair<make_type, string> r;
+ pair<make_type, path> r;
{
auto df = make_diag_frame (
[this, &l] (const diag_record& dr)
@@ -1908,9 +1908,7 @@ namespace build2
if (r.first == make_type::target)
continue;
- if (optional<bool> u = add (path (move (r.second)),
- &skip,
- rmt))
+ if (optional<bool> u = add (move (r.second), &skip, rmt))
{
restart = *u;