diff --git a/src/wifi/examples/wifi-bianchi.cc b/src/wifi/examples/wifi-bianchi.cc index cc40bad4b..c1c15945a 100644 --- a/src/wifi/examples/wifi-bianchi.cc +++ b/src/wifi/examples/wifi-bianchi.cc @@ -2471,7 +2471,7 @@ Experiment::Run(const WifiHelper& helper, phy.SetPcapDataLinkType(WifiPhyHelper::DLT_IEEE802_11_RADIO); WifiMacHelper mac = wifiMac; - WifiHelper wifi = helper; + const auto& wifi = helper; NetDeviceContainer devices; uint32_t nNodes = wifiNodes.GetN(); if (infra)