add CreateObject<> to instanciate subclasses of the Object base class. Replaces Create<>.
This commit is contained in:
1 parent
f1a4493676
commit
813570fdf2
77 files changed
+403
-359
No files matched your search
@@ -47,7 +47,6 @@ NetDevice::NetDevice(Ptr<Node> node, const Address& addr) :
|
||||
m_isPointToPoint (false)
|
||||
{
|
||||
NS_LOG_FUNCTION;
|
||||
SetInterfaceId (NetDevice::iid);
|
||||
m_node->AddDevice (this);
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user