add virtual destructor
authorTom Henderson <tomh@tomh.org>
Tue, 03 Dec 2013 17:06:35 -0800
changeset 10466 b891591b5b2a
parent 10465 d7da673064f8
child 10467 c5bf751f8d4e
add virtual destructor
src/wifi/helper/wifi-helper.cc
src/wifi/helper/wifi-helper.h
--- a/src/wifi/helper/wifi-helper.cc	Tue Dec 03 17:06:13 2013 -0800
+++ b/src/wifi/helper/wifi-helper.cc	Tue Dec 03 17:06:35 2013 -0800
@@ -52,6 +52,10 @@
 {
 }
 
+WifiHelper::~WifiHelper ()
+{
+}
+
 WifiHelper::WifiHelper ()
   : m_standard (WIFI_PHY_STANDARD_80211a)
 {
--- a/src/wifi/helper/wifi-helper.h	Tue Dec 03 17:06:13 2013 -0800
+++ b/src/wifi/helper/wifi-helper.h	Tue Dec 03 17:06:35 2013 -0800
@@ -88,6 +88,8 @@
 class WifiHelper
 {
 public:
+  virtual ~WifiHelper ();
+
   /**
    * Create a Wifi helper in an empty state: all its parameters
    * must be set before calling ns3::WifiHelper::Install