From ef6fd8ae365dbe3dd20ae48e6557cc7c3db87792 Mon Sep 17 00:00:00 2001 From: Stefano Avallone Date: Tue, 2 Jul 2024 14:13:31 +0200 Subject: [PATCH] wifi: Fix clang-tidy-18 warning --- src/wifi/examples/wifi-bianchi.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)