mirror of
https://github.com/zeek/zeek.git
synced 2025-10-17 14:08:20 +00:00
More std::move changes based on Coverity findings
This commit is contained in:
parent
2390625732
commit
34ee136a3c
19 changed files with 48 additions and 45 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue