mirror of
https://github.com/zeek/zeek.git
synced 2025-10-04 23:58:20 +00:00
Switch EnumType::GetVal() to return const-ref
This commit is contained in:
parent
902f93671c
commit
62282c0226
9 changed files with 76 additions and 90 deletions
|
@ -1290,7 +1290,7 @@ void Manager::SendAllWritersTo(const broker::endpoint_info& ei)
|
|||
i != stream->writers.end(); i++ )
|
||||
{
|
||||
WriterFrontend* writer = i->second->writer;
|
||||
auto writer_val = et->GetVal(i->first.first);
|
||||
const auto& writer_val = et->GetVal(i->first.first);
|
||||
broker_mgr->PublishLogCreate((*s)->id,
|
||||
writer_val.get(),
|
||||
*i->second->info,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue