diff --git a/src/node/node.cc b/src/node/node.cc index 199490484..bdc7d1c35 100644 --- a/src/node/node.cc +++ b/src/node/node.cc @@ -40,6 +40,7 @@ Node::GetTypeId (void) { static TypeId tid = TypeId ("ns3::Node") .SetParent () + .AddConstructor () .AddAttribute ("DeviceList", "The list of devices associated to this Node.", ObjectVectorValue (), MakeObjectVectorAccessor (&Node::m_devices),