mirror of
https://github.com/zeek/zeek.git
synced 2025-10-02 06:38:20 +00:00
Add a few std::moves to fix Coverity warnings
This commit is contained in:
parent
ff7c908460
commit
e4ab1a3b1d
3 changed files with 3 additions and 3 deletions
|
@ -811,7 +811,7 @@ bool Manager::TraverseRecord(Stream* stream, Filter* filter, RecordType* rt, Tab
|
|||
}
|
||||
|
||||
// Alright, we want this field.
|
||||
filter->indices.push_back(new_indices);
|
||||
filter->indices.push_back(std::move(new_indices));
|
||||
|
||||
// Static cast this to void* to avoid a clang-tidy warning about converting from the
|
||||
// double-pointer to void*
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue