summaryrefslogtreecommitdiff
path: root/helpcompiler/source
diff options
context:
space:
mode:
Diffstat (limited to 'helpcompiler/source')
-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;