Fix ErrorChannel Add
This commit is contained in:
@@ -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;
|
||||
|
||||
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user