no need for protected variables
authorMathieu Lacage <mathieu.lacage@sophia.inria.fr>
Wed, 02 Jul 2008 13:22:32 -0700
changeset 3374 c7c4fa162069
parent 3373 51ff815f24a2
child 3375 86a8eceb023e
no need for protected variables
src/node/channel.h
--- a/src/node/channel.h	Wed Jul 02 13:22:14 2008 -0700
+++ b/src/node/channel.h	Wed Jul 02 13:22:32 2008 -0700
@@ -44,6 +44,7 @@
 
   Channel ();
   Channel (std::string name);
+  virtual ~Channel ();
 
   void SetName(std::string);
   std::string GetName(void);
@@ -62,8 +63,7 @@
    */
   virtual Ptr<NetDevice> GetDevice (uint32_t i) const = 0;
 
-protected:
-  virtual      ~Channel ();
+private:
   std::string   m_name;
 };