aboutsummaryrefslogtreecommitdiff
path: root/libbuild2
diff options
context:
space:
mode:
Diffstat (limited to 'libbuild2')
-rw-r--r--libbuild2/file.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/libbuild2/file.cxx b/libbuild2/file.cxx
index 64a92a4..1b00662 100644
--- a/libbuild2/file.cxx
+++ b/libbuild2/file.cxx
@@ -3219,7 +3219,7 @@ namespace build2
// Split the path into the target.
//
ns = {name (f.directory (), move (n.type), f.leaf ().string ())};
- return ns;
+ return move (ns);
}
if (opt)