diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2023-06-09 12:28:47 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2023-06-09 12:28:47 +0200 |
commit | c027dfcdfccd1e5f581649ebf176b091081fa21d (patch) | |
tree | a04e5297b88ddc8a20e5e35872a382a329da10dc | |
parent | 28b2c999c4d0cf0cbb65eebbd3e0159da61d653a (diff) |
Add explicit move as recommended by Clang warning
-rw-r--r-- | libbuild2/file.cxx | 2 |
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) |