replace static const Interface iid; with static InterfaceId iid (void);
This commit is contained in:
1 parent
c8855cad2b
commit
f4e627a8b2
54 files changed
+304
-666
No files matched your search
@@ -33,7 +33,11 @@ NS_LOG_COMPONENT_DEFINE ("NetDevice");
|
||||
|
||||
namespace ns3 {
|
||||
|
||||
const InterfaceId NetDevice::iid = MakeInterfaceId ("NetDevice", Object::iid);
|
||||
InterfaceId NetDevice::iid (void)
|
||||
{
|
||||
static InterfaceId iid = MakeInterfaceId ("NetDevice", Object::iid ());
|
||||
return iid;
|
||||
}
|
||||
|
||||
NetDevice::NetDevice(Ptr<Node> node, const Address& addr) :
|
||||
m_node (node),
|
||||
|
||||
Reference in new issue
Block a user