mirror of
https://github.com/zeek/zeek.git
synced 2025-10-02 14:48:21 +00:00
Integrate review feedback
This commit is contained in:
parent
7767c3d36c
commit
3f4b340abb
2 changed files with 3 additions and 2 deletions
|
@ -76,6 +76,7 @@ static inline void set_option(const char* option, const T& value)
|
||||||
auto ptr = make_intrusive<VectorVal>(zeek::id::string_vec);
|
auto ptr = make_intrusive<VectorVal>(zeek::id::string_vec);
|
||||||
for ( const auto& str : value )
|
for ( const auto& str : value )
|
||||||
ptr->Append(make_intrusive<StringVal>(str));
|
ptr->Append(make_intrusive<StringVal>(str));
|
||||||
|
id->SetVal(std::move(ptr));
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue