no need for protected variables
authorMathieu Lacage <mathieu.lacage@sophia.inria.fr>
Wed Jul 02 13:22:32 2008 -0700 (19 months ago)
changeset 3374c7c4fa162069
parent 3373 51ff815f24a2
child 3375 86a8eceb023e
no need for protected variables
src/node/channel.h
     1.1 --- a/src/node/channel.h	Wed Jul 02 13:22:14 2008 -0700
     1.2 +++ b/src/node/channel.h	Wed Jul 02 13:22:32 2008 -0700
     1.3 @@ -44,6 +44,7 @@
     1.4  
     1.5    Channel ();
     1.6    Channel (std::string name);
     1.7 +  virtual ~Channel ();
     1.8  
     1.9    void SetName(std::string);
    1.10    std::string GetName(void);
    1.11 @@ -62,8 +63,7 @@
    1.12     */
    1.13    virtual Ptr<NetDevice> GetDevice (uint32_t i) const = 0;
    1.14  
    1.15 -protected:
    1.16 -  virtual      ~Channel ();
    1.17 +private:
    1.18    std::string   m_name;
    1.19  };
    1.20