wifi: pass unordered_map by const ref.

This commit is contained in:
Tolik Zinovyev
2024-06-22 21:59:49 -04:00
parent d435b365a9
commit cf00a3a733
2 changed files with 2 additions and 2 deletions

View File

@@ -320,7 +320,7 @@ WifiPhyStateHelper::LogPreviousIdleAndCcaBusyStates()
void
WifiPhyStateHelper::SwitchToTx(Time txDuration,
WifiConstPsduMap psdus,
const WifiConstPsduMap& psdus,
double txPowerDbm,
const WifiTxVector& txVector)
{

View File

@@ -186,7 +186,7 @@ class WifiPhyStateHelper : public Object
* \param txVector the TX vector for the transmission
*/
void SwitchToTx(Time txDuration,
WifiConstPsduMap psdus,
const WifiConstPsduMap& psdus,
double txPowerDbm,
const WifiTxVector& txVector);
/**