mirror of
https://github.com/zeek/zeek.git
synced 2025-10-17 05:58:20 +00:00
Add some additional std::moves reported by Coverity
This commit is contained in:
parent
2ce26f1be0
commit
205c72d26f
19 changed files with 27 additions and 26 deletions
|
@ -175,7 +175,7 @@ bool Ascii::ReadHeader(bool useCached) {
|
|||
line = headerline;
|
||||
|
||||
// construct list of field names.
|
||||
auto ifields = util::split(line, separator[0]);
|
||||
auto ifields = util::split(std::move(line), separator[0]);
|
||||
|
||||
// printf("Updating fields from description %s\n", line.c_str());
|
||||
columnMap.clear();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue