Remove the const after the DoAddDevice function
This commit is contained in:
1 parent
09197b9912
commit
10b19768da
2 files changed
+2
-2
No files matched your search
@@ -98,7 +98,7 @@ InternetNode::DoDispose()
|
||||
}
|
||||
|
||||
void
|
||||
InternetNode::DoAddDevice (Ptr<NetDevice> device) const
|
||||
InternetNode::DoAddDevice (Ptr<NetDevice> device)
|
||||
{
|
||||
device->SetReceiveCallback (MakeCallback (&InternetNode::ReceiveFromDevice, this));
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user