nic_stress: do not bind reference to stack allocated parameter

This commit is contained in:
Ehmry - 2019-11-28 13:53:04 +01:00
parent d650a7b0e0
commit 3dc909bb24
1 changed files with 1 additions and 1 deletions

View File

@ -57,7 +57,7 @@ struct Local::Construct_destruct_test
Env &_env;
Allocator &_alloc;
Signal_context_capability &_completed_sigh;
Signal_context_capability _completed_sigh;
Xml_node const &_config;
Nic::Packet_allocator _pkt_alloc { &_alloc };
bool const _config_exists { _config.has_sub_node("construct_destruct") };