Fix ErrorChannel Add

This commit is contained in:
Tommaso Pecorella
2013-12-03 23:04:39 +01:00
parent 9106524e8c
commit 668d3df3e5
2 changed files with 2 additions and 2 deletions

View File

@@ -44,7 +44,7 @@ public:
virtual void Send (Ptr<Packet> p, uint16_t protocol, Mac48Address to, Mac48Address from,
Ptr<SimpleNetDevice> sender);
void Add (Ptr<SimpleNetDevice> device);
virtual void Add (Ptr<SimpleNetDevice> device);
// inherited from ns3::Channel
virtual uint32_t GetNDevices (void) const;

View File

@@ -59,7 +59,7 @@ public:
*
* \param device the device to attach to the channel
*/
void Add (Ptr<SimpleNetDevice> device);
virtual void Add (Ptr<SimpleNetDevice> device);
// inherited from ns3::Channel
virtual uint32_t GetNDevices (void) const;