Skip to content

Commit

Permalink
wifi: replace destructors with default destructors.
Browse files Browse the repository at this point in the history
  • Loading branch information
tolikzinovyev authored and Sébastien Deronne committed Jan 9, 2024
1 parent 5104b82 commit 55114f4
Show file tree
Hide file tree
Showing 4 changed files with 0 additions and 13 deletions.
6 changes: 0 additions & 6 deletions src/wifi/model/interference-helper.cc
Original file line number Diff line number Diff line change
Expand Up @@ -53,12 +53,6 @@ Event::Event(Ptr<const WifiPpdu> ppdu, Time duration, RxPowerWattPerChannelBand&
{
}

Event::~Event()
{
m_ppdu = nullptr;
m_rxPowerW.clear();
}

Ptr<const WifiPpdu>
Event::GetPpdu() const
{
Expand Down
1 change: 0 additions & 1 deletion src/wifi/model/interference-helper.h
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,6 @@ class Event : public SimpleRefCount<Event>
* \param rxPower the received power per band (W)
*/
Event(Ptr<const WifiPpdu> ppdu, Time duration, RxPowerWattPerChannelBand&& rxPower);
~Event();

/**
* Return the PPDU.
Expand Down
5 changes: 0 additions & 5 deletions src/wifi/model/wifi-tx-vector.cc
Original file line number Diff line number Diff line change
Expand Up @@ -123,11 +123,6 @@ WifiTxVector::WifiTxVector(const WifiTxVector& txVector)
}
}

WifiTxVector::~WifiTxVector()
{
m_muUserInfos.clear();
}

bool
WifiTxVector::GetModeInitialized() const
{
Expand Down
1 change: 0 additions & 1 deletion src/wifi/model/wifi-tx-vector.h
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,6 @@ class WifiTxVector
HeMuUserInfoMap;

WifiTxVector();
~WifiTxVector();
/**
* Create a TXVECTOR with the given parameters.
*
Expand Down

0 comments on commit 55114f4

Please sign in to comment.