replace static const Interface iid; with static InterfaceId iid (void);

This commit is contained in:
Mathieu Lacage committed 2008-01-02 10:33:39 +01:00
1 parent c8855cad2b
commit f4e627a8b2
54 files changed
+304 -666

No files matched your search

+5 -1
View File
@@ -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),