src/node/net-device.cc
changeset 2251 04963d8cca51
parent 2250 18f432098389
child 2252 80595448707a
equal deleted inserted replaced
2250:18f432098389 2251:04963d8cca51
    33 
    33 
    34 namespace ns3 {
    34 namespace ns3 {
    35 
    35 
    36 NS_OBJECT_ENSURE_REGISTERED (NetDevice);
    36 NS_OBJECT_ENSURE_REGISTERED (NetDevice);
    37 
    37 
    38 TypeId NetDevice::iid (void)
    38 TypeId NetDevice::GetTypeId (void)
    39 {
    39 {
    40   static TypeId iid = TypeId ("NetDevice")
    40   static TypeId iid = TypeId ("NetDevice")
    41     .SetParent<Object> ();
    41     .SetParent<Object> ();
    42   return iid;
    42   return iid;
    43 }
    43 }