Skip to content

Commit cf00a3a

Browse files
committed
wifi: pass unordered_map by const ref.
1 parent d435b36 commit cf00a3a

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/wifi/model/wifi-phy-state-helper.cc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -320,7 +320,7 @@ WifiPhyStateHelper::LogPreviousIdleAndCcaBusyStates()
320320

321321
void
322322
WifiPhyStateHelper::SwitchToTx(Time txDuration,
323-
WifiConstPsduMap psdus,
323+
const WifiConstPsduMap& psdus,
324324
double txPowerDbm,
325325
const WifiTxVector& txVector)
326326
{

src/wifi/model/wifi-phy-state-helper.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -186,7 +186,7 @@ class WifiPhyStateHelper : public Object
186186
* \param txVector the TX vector for the transmission
187187
*/
188188
void SwitchToTx(Time txDuration,
189-
WifiConstPsduMap psdus,
189+
const WifiConstPsduMap& psdus,
190190
double txPowerDbm,
191191
const WifiTxVector& txVector);
192192
/**

0 commit comments

Comments
 (0)