summaryrefslogtreecommitdiff
path: root/helpcompiler
diff options
context:
space:
mode:
authorCaolán McNamara <caolan.mcnamara@collabora.com>2024-08-09 20:25:23 +0100
committerCaolán McNamara <caolan.mcnamara@collabora.com>2024-08-10 17:01:12 +0200
commitee015dc915b3a43e13d2f4c76f2811b36067e835 (patch)
tree040d845cc8cc097e684c6b7a14232b512843ee9d /helpcompiler
parente21cea677e787b4580cdc14e8b8aaea35bf9574c (diff)
cid#1556058 COPY_INSTEAD_OF_MOVE
and cid#1556064 COPY_INSTEAD_OF_MOVE cid#1556066 COPY_INSTEAD_OF_MOVE cid#1556072 COPY_INSTEAD_OF_MOVE cid#1556075 COPY_INSTEAD_OF_MOVE cid#1556077 COPY_INSTEAD_OF_MOVE Change-Id: Ie2992d321ecff15f104547e3a3cad6e8c1a786a5 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/171708 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolan.mcnamara@collabora.com>
Diffstat (limited to 'helpcompiler')
-rw-r--r--helpcompiler/source/HelpLinker.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/helpcompiler/source/HelpLinker.cxx b/helpcompiler/source/HelpLinker.cxx
index d028b866fd94..4f52f9af4678 100644
--- a/helpcompiler/source/HelpLinker.cxx
+++ b/helpcompiler/source/HelpLinker.cxx
@@ -671,7 +671,7 @@ void HelpLinker::main( std::vector<std::string> &args,
}
addFile = args[i];
if (!addFileUnderPath.empty() && !addFile.empty())
- additionalFiles[addFileUnderPath] = addFile;
+ additionalFiles[addFileUnderPath] = std::move(addFile);
}
else if (args[i].compare("-nolangroot") == 0)
m_bUseLangRoot = false;