aboutsummaryrefslogtreecommitdiff
path: root/libbuild2
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2023-06-09 12:28:47 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2023-06-09 12:28:47 +0200
commitc027dfcdfccd1e5f581649ebf176b091081fa21d (patch)
treea04e5297b88ddc8a20e5e35872a382a329da10dc /libbuild2
parent28b2c999c4d0cf0cbb65eebbd3e0159da61d653a (diff)
Add explicit move as recommended by Clang warning
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)