diff --git a/src/devices/spectrum/wifi-spectrum-value-helper.cc b/src/devices/spectrum/wifi-spectrum-value-helper.cc index e452a47dc..1768b6185 100644 --- a/src/devices/spectrum/wifi-spectrum-value-helper.cc +++ b/src/devices/spectrum/wifi-spectrum-value-helper.cc @@ -26,6 +26,13 @@ namespace ns3 { Ptr g_WifiSpectrumModel5Mhz; +WifiSpectrumValueHelper::~WifiSpectrumValueHelper () +{ +} + +WifiSpectrumValue5MhzFactory::~WifiSpectrumValue5MhzFactory () +{ +} class WifiSpectrumModel5MhzInitializer { diff --git a/src/devices/spectrum/wifi-spectrum-value-helper.h b/src/devices/spectrum/wifi-spectrum-value-helper.h index 67ce0af33..51cd0e4dd 100644 --- a/src/devices/spectrum/wifi-spectrum-value-helper.h +++ b/src/devices/spectrum/wifi-spectrum-value-helper.h @@ -35,7 +35,7 @@ namespace ns3 { class WifiSpectrumValueHelper { public: - + virtual ~WifiSpectrumValueHelper (); /* * * @param value the constant value @@ -78,7 +78,7 @@ public: class WifiSpectrumValue5MhzFactory { public: - + virtual ~WifiSpectrumValue5MhzFactory (); // inherited from WifiSpectrumValue virtual Ptr CreateConstant (double psd); virtual Ptr CreateTxPowerSpectralDensity (double txPower, uint32_t channel); diff --git a/src/devices/uan/uan-phy.h b/src/devices/uan/uan-phy.h index f0791d348..8e6bab756 100644 --- a/src/devices/uan/uan-phy.h +++ b/src/devices/uan/uan-phy.h @@ -109,6 +109,7 @@ public: class UanPhyListener { public: + virtual ~UanPhyListener () {} /** * \brief Function called when Phy object begins receiving packet */