changeset 3374 | c7c4fa162069 |
parent 3222 | f61c17b62fd1 |
child 3752 | 5ab2feb083a0 |
--- 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; };