More std::move changes based on Coverity findings

This commit is contained in:
Tim Wojtulewicz 2025-04-04 15:11:17 -07:00
parent 2390625732
commit 34ee136a3c
19 changed files with 48 additions and 45 deletions

View file

@ -998,7 +998,7 @@ vector<string> IRC_Analyzer::SplitWords(const string& input, char split) {
// Add line end if needed.
if ( start < input.size() ) {
word = input.substr(start, input.size() - start);
words.push_back(word);
words.push_back(std::move(word));
}
return words;