diff options
Diffstat (limited to 'Source/cmFileAPICodemodel.cxx')
-rw-r--r-- | Source/cmFileAPICodemodel.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Source/cmFileAPICodemodel.cxx b/Source/cmFileAPICodemodel.cxx index a6c3c66..c0c9b75 100644 --- a/Source/cmFileAPICodemodel.cxx +++ b/Source/cmFileAPICodemodel.cxx @@ -2102,7 +2102,7 @@ Json::Value Target::DumpLauncher(const char* name, const char* type) for (std::string const& arg : cmMakeRange(commandWithArgs).advance(1)) { args.append(arg); } - launcher["arguments"] = args; + launcher["arguments"] = std::move(args); } return launcher; } @@ -2116,7 +2116,7 @@ Json::Value Target::DumpLaunchers() if (allow) { launcher = DumpLauncher("CROSSCOMPILING_EMULATOR", "emulator"); if (!launcher.empty()) { - launchers.append(launcher); + launchers.append(std::move(launcher)); } } return launchers; |