add CreateObject<> to instanciate subclasses of the Object base class. Replaces Create<>.

This commit is contained in:
Mathieu Lacage committed 2008-01-02 09:09:24 +01:00
1 parent f1a4493676
commit 813570fdf2
77 files changed
+403 -359

No files matched your search

-1
View File
@@ -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);
}