From c645f7240c5d734ef2877cc9a66318f9d94ec095 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A9bastien=20Deronne?= Date: Sat, 11 Nov 2023 16:42:12 +0100 Subject: [PATCH] wifi: No need to reset Ptr before clearing the map --- src/wifi/model/wifi-phy.cc | 4 ---- 1 file changed, 4 deletions(-) diff --git a/src/wifi/model/wifi-phy.cc b/src/wifi/model/wifi-phy.cc index da5c58afa..0140328c0 100644 --- a/src/wifi/model/wifi-phy.cc +++ b/src/wifi/model/wifi-phy.cc @@ -422,10 +422,6 @@ WifiPhy::DoDispose() m_random = nullptr; m_state = nullptr; m_currentEvent = nullptr; - for (auto& preambleEvent : m_currentPreambleEvents) - { - preambleEvent.second = nullptr; - } m_currentPreambleEvents.clear(); for (auto& phyEntity : m_phyEntities)